回答編集履歴
1
indent 修正
test
CHANGED
@@ -62,21 +62,21 @@
|
|
62
62
|
|
63
63
|
def onrelease(e):
|
64
64
|
|
65
|
-
print("penup")
|
65
|
+
print("penup")
|
66
|
-
|
66
|
+
|
67
|
-
s.cv.unbind("<Motion>")
|
67
|
+
s.cv.unbind("<Motion>")
|
68
|
-
|
68
|
+
|
69
|
-
s.cv.unbind("<ButtonRelease-1>")
|
69
|
+
s.cv.unbind("<ButtonRelease-1>")
|
70
70
|
|
71
71
|
|
72
72
|
|
73
73
|
def onpress(e):
|
74
74
|
|
75
|
-
print("pendown {} {}".format(e.x, e.y))
|
75
|
+
print("pendown {} {}".format(e.x, e.y))
|
76
|
-
|
76
|
+
|
77
|
-
s.cv.bind("<Motion>", onmotion)
|
77
|
+
s.cv.bind("<Motion>", onmotion)
|
78
|
-
|
78
|
+
|
79
|
-
s.cv.bind("<ButtonRelease-1>", onrelease)
|
79
|
+
s.cv.bind("<ButtonRelease-1>", onrelease)
|
80
80
|
|
81
81
|
|
82
82
|
|