mirror of
https://github.com/szymon-jozef/checkers.git
synced 2026-10-27 11:10:48 +01:00
fix: board not scaling
This commit is contained in:
@@ -3,7 +3,7 @@ use std::{
|
||||
slice::IterMut,
|
||||
};
|
||||
|
||||
use log::info;
|
||||
use log::{debug, info};
|
||||
use macroquad::{
|
||||
color::{BLACK, Color, GREEN, ORANGE, RED, WHITE},
|
||||
input::{is_mouse_button_pressed, mouse_position},
|
||||
|
||||
@@ -317,7 +317,7 @@ impl GameClient {
|
||||
};
|
||||
|
||||
if self.board.update_board_rect(self.board_area) {
|
||||
self.board.update_dimensions();
|
||||
self.board.repopulate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user