Update scaling properties in CommunityStructureCanvas to allow for greater zoom levels, enhancing user interaction and flexibility in space management visualization.

This commit is contained in:
Faris Armoush
2025-07-21 14:30:40 +03:00
parent 06f00da02c
commit 9582cc0bd8

View File

@ -475,8 +475,8 @@ class _CommunityStructureCanvasState extends State<CommunityStructureCanvas>
horizontal: context.screenWidth * 0.3, horizontal: context.screenWidth * 0.3,
vertical: context.screenHeight * 0.3, vertical: context.screenHeight * 0.3,
), ),
minScale: 0.5, minScale: 0.1,
maxScale: 3.0, maxScale: 4.0,
constrained: false, constrained: false,
child: SizedBox( child: SizedBox(
width: context.screenWidth * 5, width: context.screenWidth * 5,