Skip to content

Commit

Permalink
Naming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
insomnious committed Sep 3, 2024
1 parent c0e0396 commit f1c25d9
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
Height="24"
Width="24"
Margin="20,0,0,0"
x:Name="FAKE_KNOBGROUP">
x:Name="FAKE_KnobGrid">
<Ellipse
Fill="{StaticResource BrandTranslucentLight50}"
Opacity="1"
Expand All @@ -272,13 +272,13 @@
Opacity="1"
Height="24"
Width="24"
x:Name="FAKE_KNOBOUTER" />
x:Name="FAKE_KnobOuter" />
<Ellipse
Fill="{StaticResource ToggleSwitchKnobFillOff}"
Opacity="1"
Height="16"
Width="16"
x:Name="FAKE_KNOBINNER" />
x:Name="FAKE_KnobInner" />
</Grid>
</Grid>
</Grid>
Expand All @@ -289,7 +289,7 @@
<Setter Property="Margin" Value="0" />
</Style>

<Style Selector="^ /template/ Grid#FAKE_KNOBGROUP">
<Style Selector="^ /template/ Grid#FAKE_KnobGrid">
<Setter Property="Opacity" Value="0" />
</Style>

Expand Down Expand Up @@ -330,12 +330,12 @@
<Setter Property="Margin" Value="0,0,0,0" />
</Style>

<Style Selector="^ /template/ Ellipse#FAKE_KNOBOUTER">
<Style Selector="^ /template/ Ellipse#FAKE_KnobOuter">
<Setter Property="Height" Value="16" />
<Setter Property="Width" Value="16" />
</Style>

<Style Selector="^ /template/ Ellipse#FAKE_KNOBINNER">
<Style Selector="^ /template/ Ellipse#FAKE_KnobInner">
<Setter Property="Height" Value="10" />
<Setter Property="Width" Value="10" />
</Style>
Expand Down Expand Up @@ -414,15 +414,15 @@
<Style Selector="^:indeterminate">

<!-- show fake knob -->
<Style Selector="^ /template/ Grid#FAKE_KNOBGROUP">
<Style Selector="^ /template/ Grid#FAKE_KnobGrid">
<Setter Property="Opacity" Value="1" />
</Style>

<Style Selector="^ /template/ Ellipse#FAKE_KNOBOUTER">
<Style Selector="^ /template/ Ellipse#FAKE_KnobOuter">
<Setter Property="Fill" Value="{StaticResource ToggleSwitchKnobFillOn}" />
</Style>

<Style Selector="^ /template/ Ellipse#FAKE_KNOBINNER">
<Style Selector="^ /template/ Ellipse#FAKE_KnobInner">
<Setter Property="Fill" Value="{StaticResource ToggleSwitchFillOn}" />
</Style>

Expand Down Expand Up @@ -567,11 +567,11 @@
<!-- turn off border as it's not needed -->
</Style>

<Style Selector="^ /template/ Ellipse#FAKE_KNOBOUTER">
<Style Selector="^ /template/ Ellipse#FAKE_KnobOuter">
<Setter Property="Fill" Value="{DynamicResource ToggleSwitchKnobFillOnDisabled}" />
</Style>

<Style Selector="^ /template/ Ellipse#FAKE_KNOBINNER">
<Style Selector="^ /template/ Ellipse#FAKE_KnobInner">
<Setter Property="Fill" Value="{DynamicResource ToggleSwitchStrokeOnDisabled}" />
</Style>

Expand Down

0 comments on commit f1c25d9

Please sign in to comment.