From 0906817cd3c9e372e9ea6bb45c5663263383a1d3 Mon Sep 17 00:00:00 2001 From: ww-rm Date: Mon, 22 Sep 2025 14:38:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=9D=A2=E6=9D=BF=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E9=A6=96=E6=AC=A1=E8=BF=98=E5=8E=9F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SpineViewer/Views/MainWindow.xaml.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SpineViewer/Views/MainWindow.xaml.cs b/SpineViewer/Views/MainWindow.xaml.cs index d368096..37b040d 100644 --- a/SpineViewer/Views/MainWindow.xaml.cs +++ b/SpineViewer/Views/MainWindow.xaml.cs @@ -148,7 +148,7 @@ public partial class MainWindow : Window _rootGrid.ColumnDefinitions[0].Width = new(m.RootGridCol0Width); _modelListGrid.RowDefinitions[0].Height = new(m.ModelListRow0Height); - _explorerGrid.RowDefinitions[0].Height = new(m.ExplorerGridRow0Height); + if (m.ExplorerGridRow0Height > 0) _explorerGrid.RowDefinitions[0].Height = new(m.ExplorerGridRow0Height); _rightPanelGrid.RowDefinitions[0].Height = new(m.RightPanelGridRow0Height); _vm.SFMLRendererViewModel.SetResolution(m.ResolutionX, m.ResolutionY); @@ -157,7 +157,6 @@ public partial class MainWindow : Window _vm.SFMLRendererViewModel.ShowAxis = m.ShowAxis; _vm.SFMLRendererViewModel.BackgroundColor = m.BackgroundColor; } - } private void SaveLastState()