From 741d334a9210c010415818f44f3f0ea94737d94c Mon Sep 17 00:00:00 2001 From: ww-rm Date: Sun, 28 Sep 2025 22:20:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=A1=8C=E9=9D=A2=E6=8A=95?= =?UTF-8?q?=E5=BD=B1=E6=97=B6=E8=87=AA=E5=8A=A8=E8=AE=BE=E7=BD=AE=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E5=88=86=E8=BE=A8=E7=8E=87=E4=B8=BA=E4=B8=BB=E5=B1=8F?= =?UTF-8?q?=E5=B9=95=E5=88=86=E8=BE=A8=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SpineViewer/Views/MainWindow.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SpineViewer/Views/MainWindow.xaml.cs b/SpineViewer/Views/MainWindow.xaml.cs index 65e2b60..2e8b939 100644 --- a/SpineViewer/Views/MainWindow.xaml.cs +++ b/SpineViewer/Views/MainWindow.xaml.cs @@ -232,6 +232,7 @@ public partial class MainWindow : Window User32.SetParent(handle, workerw); User32.SetLayeredWindowAttributes(handle, 0, byte.MaxValue, User32.LWA_ALPHA); + _vm.SFMLRendererViewModel.SetResolution(sw, sh); wnd.Position = new(0, 0); wnd.Size = new(sw + 1, sh); wnd.Size = new(sw, sh);