Skip to content

Commit

Permalink
Merge pull request #256
Browse files Browse the repository at this point in the history
fix: update ToggleSwitch animation.
  • Loading branch information
SKProCH committed Jul 3, 2023
2 parents 91c0ad3 + 92bceb3 commit 7925235
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Material.Styles/Resources/Themes/ToggleSwitch.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@
<Setter Property="assists:SelectionControlAssist.Size" Value="36" />
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="ClipToBounds" Value="False" />

<Setter Property="KnobTransitions">
<Transitions>
<DoubleTransition
Easing="CircularEaseOut"
Property="Canvas.Left"
Duration="0.2" />
</Transitions>
</Setter>
<Setter Property="OffContent" Value="{x:Null}" />
<Setter Property="Template">
<ControlTemplate>
Expand Down

0 comments on commit 7925235

Please sign in to comment.