diff --git a/lib/pages/spaces_management/view/spaces_management_page.dart b/lib/pages/spaces_management/view/spaces_management_page.dart index c70d8814..ef33604c 100644 --- a/lib/pages/spaces_management/view/spaces_management_page.dart +++ b/lib/pages/spaces_management/view/spaces_management_page.dart @@ -51,14 +51,11 @@ class SpaceManagementPageState extends State { } 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 { 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