fix coordinate convertion in tictactoe
This commit is contained in:
parent
35aefc2df8
commit
a7f8053e5e
|
@ -327,7 +327,7 @@ class TicTacToeBoard:
|
||||||
if not self.session.is_my_turn():
|
if not self.session.is_my_turn():
|
||||||
return
|
return
|
||||||
|
|
||||||
(height, width) = widget.get_size()
|
(width, height) = widget.get_size()
|
||||||
|
|
||||||
# convert click co-ordinates to row and column
|
# convert click co-ordinates to row and column
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue