floating overlay size change

This commit is contained in:
Mikkeli Matlock
2025-08-26 23:41:12 +09:00
parent 3e79a448ec
commit d1d7521805
+2 -2
View File
@@ -182,8 +182,8 @@ class _SpeedometerScreenState extends State<SpeedometerScreen> with WidgetsBindi
debugPrint(' systemScreen: ${systemSize.width.round()}x${systemSize.height.round()}'); debugPrint(' systemScreen: ${systemSize.width.round()}x${systemSize.height.round()}');
// Calculate overlay size the same way as when launching // Calculate overlay size the same way as when launching
final overlayWidth = (systemSize.width * 0.4).round(); final overlayWidth = (systemSize.width * 0.6).round();
final overlayHeight = (overlayWidth * 0.5).round(); final overlayHeight = (overlayWidth * 0.75).round();
FlutterOverlayWindow.shareData({ FlutterOverlayWindow.shareData({
'action': 'updateDisplay', 'action': 'updateDisplay',