Browse Source

Make Fluent buttons animation consistent

pull/4710/head
Max Katz 5 years ago
parent
commit
ab35482724
  1. 4
      src/Avalonia.Themes.Fluent/Button.xaml

4
src/Avalonia.Themes.Fluent/Button.xaml

@ -77,7 +77,7 @@
<Setter Property="TextBlock.Foreground" Value="{DynamicResource AccentButtonForegroundPressed}" />
</Style>
<Style Selector="Button">
<Style Selector=":is(Button)">
<Setter Property="RenderTransform" Value="none" />
<Setter Property="Transitions">
<Transitions>
@ -86,7 +86,7 @@
</Setter>
</Style>
<Style Selector="Button:pressed">
<Style Selector=":is(Button):pressed">
<Setter Property="RenderTransform" Value="scale(0.98)" />
</Style>

Loading…
Cancel
Save