mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-16 02:13:39 +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>
|
||||
</VisualStateManager.VisualStateGroups>
|
||||
<Path x:Name="Arrow" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
RenderTransform="{StaticResource ScaleFactor}"
|
||||
RenderTransform="{StaticResource ScaleFactor}" RenderOptions.EdgeMode="Aliased"
|
||||
Data="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}" >
|
||||
<Path.Fill>
|
||||
<SolidColorBrush Color="{Binding Source={x:Static stm:MenuDefines.ColorArrow},Path=Color}"/>
|
||||
|
@ -163,7 +163,7 @@
|
|||
Style="{StaticResource ScrollBarLineButton}"
|
||||
Height="{u:ScaleDouble 15}"
|
||||
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.DecreaseRepeatButton>
|
||||
<RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageUpCommand" />
|
||||
|
@ -204,7 +204,7 @@
|
|||
Style="{StaticResource ScrollBarLineButton}"
|
||||
Height="{u:ScaleDouble 15}"
|
||||
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>
|
||||
</ControlTemplate>
|
||||
|
||||
|
@ -219,7 +219,7 @@
|
|||
Style="{StaticResource ScrollBarLineButton}"
|
||||
Width="{u:ScaleDouble 15}"
|
||||
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.DecreaseRepeatButton>
|
||||
<RepeatButton Style="{StaticResource ScrollBarPageButton}" Command="ScrollBar.PageLeftCommand" />
|
||||
|
@ -259,7 +259,7 @@
|
|||
Style="{StaticResource ScrollBarLineButton}"
|
||||
Width="{u:ScaleDouble 15}"
|
||||
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>
|
||||
</ControlTemplate>
|
||||
|
||||
|
|
Loading…
Reference in a new issue