We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed3c0ed commit 6a90e0bCopy full SHA for 6a90e0b
Board.py
@@ -8,9 +8,12 @@ class Scatter_Text_widget(FloatLayout):
8
9
10
def on_touch_down(self, touch):
11
- position = find_position()
12
- pos_chess = position.chess_position(touch.pos)
13
- print(pos_chess)
+ res = super(Scatter_Text_widget, self).on_touch_down(touch)
+ if res:
+ position = find_position()
14
+ pos_chess = position.chess_position(touch.pos)
15
+ print(pos_chess)
16
+ return res
17
18
def on_touch_up(self, touch):
19
position = find_position()
0 commit comments