7ae660156e
Major improvements to floating window overlay: Architecture: - Clean client-server model: main app as GPS backend, overlay as display client - Single GPS stream eliminates resource conflicts and sync issues - Real-time data push: speed, heading, theme, and unit changes sync instantly Functionality: - Proper system screen resolution detection and size synchronization - Main app calculates overlay size, shares exact dimensions with overlay - Navigation area tap toggles overlay (show/close), long-press always closes - Comprehensive debug metrics for troubleshooting Technical fixes: - Eliminated duplicate GPS streams for better battery life - Fixed size calculation mismatches between main app and overlay - Proper overlay state tracking with _isOverlayActive boolean - Reverted to withOpacity() per NOTES.txt (simpler than Color.fromARGB) Debug metrics include: - Creation/destruction signals with 🟢/🔴 indicators - Real-time data updates with 📡/📤 send/receive tracking - Window sizing info with 📐 dimensions and font calculations - User interaction feedback with 🖱️ tap/long-press detection This implementation provides reliable floating window functionality with proper data synchronization and efficient resource usage. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>