From 55045fdbe4e8670bb52debf990d04d2dc6eb77b9 Mon Sep 17 00:00:00 2001 From: wangtian Date: Fri, 21 Feb 2025 11:46:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3setPosition=E8=AF=A5=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangtian --- lib/src/window_manager.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/src/window_manager.dart b/lib/src/window_manager.dart index a61ee83..a7cc46f 100644 --- a/lib/src/window_manager.dart +++ b/lib/src/window_manager.dart @@ -557,10 +557,10 @@ class WindowManagerPlus { ); return Rect.fromLTWH( - resultData['x'], - resultData['y'], - resultData['width'], - resultData['height'], + (resultData['x']).toDouble(), + (resultData['y']).toDouble(), + (resultData['width']).toDouble(), + (resultData['height']).toDouble(), ); } -- Gitee