mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
removed logs
This commit is contained in:
@ -51,14 +51,11 @@ class SpaceManagementPageState extends State<SpaceManagementPage> {
|
||||
}
|
||||
|
||||
void updateCanvasSize() {
|
||||
print("test");
|
||||
double maxX = 0;
|
||||
double maxY = 0;
|
||||
|
||||
// Calculate the maximum X and Y positions of all spaces
|
||||
for (var space in spaces) {
|
||||
print(
|
||||
"Space Position: ${space.position.dx}, ${space.position.dy}"); // Log the position of each space
|
||||
maxX = max(maxX, space.position.dx + 150); // Add width of space
|
||||
maxY = max(maxY, space.position.dy + 60); // Add height of space
|
||||
}
|
||||
@ -73,10 +70,6 @@ class SpaceManagementPageState extends State<SpaceManagementPage> {
|
||||
canvasWidth = newWidth;
|
||||
canvasHeight = newHeight;
|
||||
});
|
||||
|
||||
// Log the updated canvas size for debugging
|
||||
print("Max X: $maxX, Max Y: $maxY");
|
||||
print("Updated canvas size: $canvasWidth x $canvasHeight");
|
||||
}
|
||||
|
||||
@override
|
||||
|
Reference in New Issue
Block a user