mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-11 15:04:54 +12:00
Change rendering of scroll button triangles removing blur effect
This commit is contained in:
parent
d5dd89b3fe
commit
2da2bcd7fc
|
@ -81,7 +81,7 @@
|
||||||
</VisualStateGroup>
|
</VisualStateGroup>
|
||||||
</VisualStateManager.VisualStateGroups>
|
</VisualStateManager.VisualStateGroups>
|
||||||
<Path x:Name="Arrow" HorizontalAlignment="Center" VerticalAlignment="Center"
|
<Path x:Name="Arrow" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||||
RenderTransform="{StaticResource ScaleFactor}"
|
RenderTransform="{StaticResource ScaleFactor}" RenderOptions.EdgeMode="Aliased"
|
||||||
Data="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}" >
|
Data="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}" >
|
||||||
<Path.Fill>
|
<Path.Fill>
|
||||||
<SolidColorBrush Color="{Binding Source={x:Static stm:MenuDefines.ColorArrow},Path=Color}"/>
|
<SolidColorBrush Color="{Binding Source={x:Static stm:MenuDefines.ColorArrow},Path=Color}"/>
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
Style="{StaticResource ScrollBarLineButton}"
|
Style="{StaticResource ScrollBarLineButton}"
|
||||||
Height="{u:ScaleDouble 15}"
|
Height="{u:ScaleDouble 15}"
|
||||||
Command="ScrollBar.LineUpCommand"
|
Command="ScrollBar.LineUpCommand"
|
||||||
Content="M 0 4 L 8 4 L 4 0 Z" />
|
Content="M 0 5 L 10 5 L 5 0 Z" />
|
||||||
<Track x:Name="PART_Track" Grid.Row="1" IsDirectionReversed="true">
|
<Track x:Name="PART_Track" Grid.Row="1" IsDirectionReversed="true">
|
||||||
<Track.DecreaseRepeatButton>
|
<Track.DecreaseRepeatButton>
|
||||||
<RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageUpCommand" />
|
<RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageUpCommand" />
|
||||||
|
@ -204,7 +204,7 @@
|
||||||
Style="{StaticResource ScrollBarLineButton}"
|
Style="{StaticResource ScrollBarLineButton}"
|
||||||
Height="{u:ScaleDouble 15}"
|
Height="{u:ScaleDouble 15}"
|
||||||
Command="ScrollBar.LineDownCommand"
|
Command="ScrollBar.LineDownCommand"
|
||||||
Content="M 0 0 L 4 4 L 8 0 Z" />
|
Content="M 0 0 L 5 5 L 10 0 Z" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@
|
||||||
Style="{StaticResource ScrollBarLineButton}"
|
Style="{StaticResource ScrollBarLineButton}"
|
||||||
Width="{u:ScaleDouble 15}"
|
Width="{u:ScaleDouble 15}"
|
||||||
Command="ScrollBar.LineLeftCommand"
|
Command="ScrollBar.LineLeftCommand"
|
||||||
Content="M 4 0 L 4 8 L 0 4 Z" />
|
Content="M 5 0 L 5 10 L 0 5 Z" />
|
||||||
<Track x:Name="PART_Track" Grid.Column="1" IsDirectionReversed="False">
|
<Track x:Name="PART_Track" Grid.Column="1" IsDirectionReversed="False">
|
||||||
<Track.DecreaseRepeatButton>
|
<Track.DecreaseRepeatButton>
|
||||||
<RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageLeftCommand" />
|
<RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageLeftCommand" />
|
||||||
|
@ -259,7 +259,7 @@
|
||||||
Style="{StaticResource ScrollBarLineButton}"
|
Style="{StaticResource ScrollBarLineButton}"
|
||||||
Width="{u:ScaleDouble 15}"
|
Width="{u:ScaleDouble 15}"
|
||||||
Command="ScrollBar.LineRightCommand"
|
Command="ScrollBar.LineRightCommand"
|
||||||
Content="M 0 0 L 4 4 L 0 8 Z" />
|
Content="M 0 0 L 5 5 L 0 10 Z" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue