feat: enable smooth second hand movement.

This commit is contained in:
rabbitism
2024-06-13 18:02:01 +08:00
parent 18b9e16743
commit 2355aee1e1
2 changed files with 105 additions and 43 deletions

View File

@@ -10,9 +10,9 @@
x:CompileBindings="True"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<Grid>
<u:Clock HorizontalAlignment="Left" Time="{Binding Time}"></u:Clock>
<Grid RowDefinitions="Auto, *">
<ToggleSwitch Content="Smooth" Name="smooth"></ToggleSwitch>
<u:Clock Grid.Row="1" HorizontalAlignment="Left" IsSmooth="{Binding #smooth.IsChecked}" Time="{Binding Time}"></u:Clock>
</Grid>
</UserControl>