summaryrefslogtreecommitdiffstats
path: root/tests/arc.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arc.tcl')
-rw-r--r--tests/arc.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arc.tcl b/tests/arc.tcl
index 0126c7d..89b9f58 100644
--- a/tests/arc.tcl
+++ b/tests/arc.tcl
@@ -64,7 +64,7 @@ set outline black
}
.t.c bind arc <Any-Leave> {.t.c itemconf current -fill $prevFill -outline $prevOutline}
-bind .t.c <1> {markarea %x %y}
+bind .t.c <Button-1> {markarea %x %y}
bind .t.c <B1-Motion> {strokearea %x %y}
proc markarea {x y} {
@@ -93,7 +93,7 @@ bind .t.c <3> {puts stdout "%x %y"}
# The code below allows the circle to be move by shift-dragging.
-bind .t.c <Shift-1> {
+bind .t.c <Shift-Button-1> {
set curx %x
set cury %y
}