diff --git a/XplorePlane/Themes/Generic.xaml b/XplorePlane/Themes/Generic.xaml index 055be1d..87d50ad 100644 --- a/XplorePlane/Themes/Generic.xaml +++ b/XplorePlane/Themes/Generic.xaml @@ -30,7 +30,7 @@ x:Name="Thumb" Width="18" Height="18" - Margin="3" + Margin="3,3,3,3" HorizontalAlignment="Left" Background="{TemplateBinding ThumbBrush}" CornerRadius="9"> @@ -41,25 +41,24 @@ Opacity="0.2" ShadowDepth="1" /> - - - + + - - + - - + + - - - - + - - + - - + + - + @@ -122,4 +118,4 @@ - + \ No newline at end of file diff --git a/XplorePlane/Views/Main/MainWindow.xaml b/XplorePlane/Views/Main/MainWindow.xaml index 7a110f8..6cc5237 100644 --- a/XplorePlane/Views/Main/MainWindow.xaml +++ b/XplorePlane/Views/Main/MainWindow.xaml @@ -127,7 +127,7 @@ Margin="4,10,4,4" HorizontalAlignment="Center" ToolTip="主界面实时" - IsChecked="True" + IsChecked="{Binding IsMainViewportRealtimeEnabled, Mode=TwoWay}" SwitchWidth="44" SwitchHeight="24" />