From a73605cc5323058255509cc3f5ba78f59c40238e Mon Sep 17 00:00:00 2001 From: stopflock Date: Mon, 18 Aug 2025 23:07:34 -0500 Subject: [PATCH] disable follow me when adding a camera --- lib/screens/home_screen.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/screens/home_screen.dart b/lib/screens/home_screen.dart index 4c53c90..39d282f 100644 --- a/lib/screens/home_screen.dart +++ b/lib/screens/home_screen.dart @@ -25,6 +25,9 @@ class _HomeScreenState extends State { bool _followMe = true; void _openAddCameraSheet() { + // Disable follow-me when adding a camera so the map doesn't jump around + setState(() => _followMe = false); + final appState = context.read(); appState.startAddSession(); final session = appState.session!; // guaranteed non‑null now