Browse Source

Use transparent style for disabled transparent-full

pull/333/head
Ionite 12 months ago
parent
commit
e9707319da
No known key found for this signature in database
  1. 4
      StabilityMatrix.Avalonia/Styles/ButtonStyles.axaml

4
StabilityMatrix.Avalonia/Styles/ButtonStyles.axaml

@ -377,8 +377,8 @@
<Style Selector="^:disabled">
<Style Selector="^ /template/ ui|FABorder#Root">
<Setter Property="Background" Value="{DynamicResource ButtonBackgroundDisabled}" />
<Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrushDisabled}" />
<Setter Property="Background" Value="{DynamicResource SystemControlTransparentBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource SystemControlTransparentBrush}" />
</Style>
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Foreground" Value="{DynamicResource ButtonForegroundDisabled}" />

Loading…
Cancel
Save