fix: 修复实时开关绑定及动画效果
- MainWindow.xaml: 绑定 IsChecked 到 IsMainViewportRealtimeEnabled - Generic.xaml: 修复 AnimatedSwitch 模板,添加初始状态 Setter 和 ExitActions 动画
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
Margin="4,10,4,4"
|
||||
HorizontalAlignment="Center"
|
||||
ToolTip="主界面实时"
|
||||
IsChecked="True"
|
||||
IsChecked="{Binding IsMainViewportRealtimeEnabled, Mode=TwoWay}"
|
||||
SwitchWidth="44"
|
||||
SwitchHeight="24" />
|
||||
<TextBlock
|
||||
|
||||
Reference in New Issue
Block a user