pygame mac only, race cond on hover
This commit is contained in:
1 parent
8e559613db
commit
860f4b8836
2 files changed
+5
-1
No files matched your search
@@ -380,6 +380,10 @@ class BadukPanWidget(Widget):
|
||||
current_node = katrain.game.current_node
|
||||
player, next_player = current_node.player, current_node.next_player
|
||||
|
||||
board_size_x, board_size_y = katrain.game.board_size
|
||||
if len(self.gridpos_x) < board_size_x or len(self.gridpos_y) < board_size_y:
|
||||
return # race condition
|
||||
|
||||
with self.canvas.after:
|
||||
self.canvas.after.clear()
|
||||
self.active_pv_moves = []
|
||||
|
||||
@@ -41,7 +41,7 @@ setup(
|
||||
"wheel",
|
||||
"setuptools",
|
||||
"importlib_resources ;python_version<'3.7'",
|
||||
"pygame", # some mac versions need this for kivy
|
||||
"pygame;platform_system=='Darwin'", # some mac versions need this for kivy
|
||||
"cython>=0.24,<=0.29.14,!=0.27,!=0.27.2", # kivy wants this
|
||||
"kivy_deps.glew;platform_system=='Windows'",
|
||||
"kivy_deps.sdl2;platform_system=='Windows'",
|
||||
|
||||
Reference in new issue
Block a user