mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
fixed positioning
This commit is contained in:
@ -549,7 +549,7 @@ class _CommunityStructureAreaState extends State<CommunityStructureArea> {
|
||||
final double viewportHeight = MediaQuery.of(context).size.height;
|
||||
|
||||
final double dx = -space.position.dx + (viewportWidth / 2) - 400;
|
||||
final double dy = -space.position.dy + (viewportHeight / 2) - 350;
|
||||
final double dy = -space.position.dy + (viewportHeight / 2) - 300;
|
||||
|
||||
_transformationController.value = Matrix4.identity()
|
||||
..translate(dx, dy)
|
||||
|
Reference in New Issue
Block a user