online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/board/Board.gd')
-rw-r--r--ui/board/Board.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/board/Board.gd b/ui/board/Board.gd
index c6c461d..644e7f0 100644
--- a/ui/board/Board.gd
+++ b/ui/board/Board.gd
@@ -12,7 +12,7 @@ signal remove_last
var move_indicators: PoolIntArray = []
-var rot :float = 0
+var rot: float = 0
var piece_size: Vector2
@@ -63,6 +63,7 @@ func _process(_delta):
rect_rotation = rot
foreground.rect_rotation = rot
+
func _resized():
var old_pc = piece_size
piece_size = rect_size / 8