Skip to content

Commit

Permalink
Merge pull request #761 from dremin/fix-show-desktop-hitbox
Browse files Browse the repository at this point in the history
Fix Win9x show desktop hitbox
  • Loading branch information
xoascf authored Feb 27, 2024
2 parents 08df377 + 45c1c54 commit 121c62e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion RetroBar/Themes/System.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -572,12 +572,14 @@
Value="0,0,1,1" />
<Setter Property="FocusVisualStyle"
Value="{x:Null}" />
<Setter Property="Padding"
Value="2,2,0,2" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToggleButton">
<Border Background="Transparent"
x:Name="ButtonPaddingBorder"
Padding="2,2,0,2">
Padding="{TemplateBinding Padding}">
<Border BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{DynamicResource ButtonDarkShadow}"
x:Name="ButtonOuterBottomBorder">
Expand Down
4 changes: 2 additions & 2 deletions RetroBar/Themes/Windows 95-98.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
<Style TargetType="ToggleButton"
x:Key="ShowDesktopButton"
BasedOn="{StaticResource StartButton}">
<Setter Property="Margin"
Value="-2,0,2,0" />
<Setter Property="Padding"
Value="0,2,2,2" />
<Setter Property="HorizontalAlignment"
Value="Center" />
<Style.Triggers>
Expand Down

0 comments on commit 121c62e

Please sign in to comment.