mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-10-09 17:34:14 +02:00
Adjust map view when adding/editing to account for bottom sheet
This commit is contained in:
1 parent
a8ac237317
commit
5c2bfbc76e
6 files changed
+175
-33
No files matched your search
@@ -132,18 +132,7 @@ class MapOverlays extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
|
||||
// Fixed pin when adding or editing camera
|
||||
if (session != null || editSession != null)
|
||||
IgnorePointer(
|
||||
child: Center(
|
||||
child: Transform.translate(
|
||||
offset: const Offset(0, kAddPinYOffset),
|
||||
child: CameraIcon(
|
||||
type: editSession != null ? CameraIconType.editing : CameraIconType.mock
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user