Browse Source

Merge pull request #7848 from trympet/fix-toggleswitch-typo

Fix ToggleSwitchFillOffDisabled resource key typo
pull/7859/head
Max Katz 5 years ago
committed by GitHub
parent
commit
d8b18327e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Themes.Default/Controls/ToggleSwitch.xaml
  2. 2
      src/Avalonia.Themes.Fluent/Controls/ToggleSwitch.xaml

2
src/Avalonia.Themes.Default/Controls/ToggleSwitch.xaml

@ -254,7 +254,7 @@
<Style Selector="ToggleSwitch:disabled /template/ Border#OuterBorder">
<Setter Property="BorderBrush" Value="{DynamicResource ToggleSwitchStrokeOffDisabled}"/>
<Setter Property="Background" Value="{DynamicResource ToggleSwitchFillOffPressed}"/>
<Setter Property="Background" Value="{DynamicResource ToggleSwitchFillOffDisabled}"/>
</Style>
<Style Selector="ToggleSwitch:disabled /template/ Ellipse#SwitchKnobOff">

2
src/Avalonia.Themes.Fluent/Controls/ToggleSwitch.xaml

@ -220,7 +220,7 @@
<Style Selector="ToggleSwitch:disabled /template/ Border#OuterBorder">
<Setter Property="BorderBrush" Value="{DynamicResource ToggleSwitchStrokeOffDisabled}"/>
<Setter Property="Background" Value="{DynamicResource ToggleSwitchFillOffPressed}"/>
<Setter Property="Background" Value="{DynamicResource ToggleSwitchFillOffDisabled}"/>
</Style>
<Style Selector="ToggleSwitch:disabled /template/ Ellipse#SwitchKnobOff">

Loading…
Cancel
Save