Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben2776 committed Jul 30, 2020
1 parent 652acf5 commit 0969e5a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion PicView/ConfigureSettings/ConfigColors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal static void UpdateColor(bool remove = false)
{
if (remove)
{
Application.Current.Resources["WindowBorderColorBrush"] = Brushes.Black;
Application.Current.Resources["WindowBorderColorBrush"] = Application.Current.Resources["WindowBackgroundColorBrush"];
return;
}

Expand Down
1 change: 0 additions & 1 deletion PicView/PicGallery/GalleryClick.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using PicView.ChangeImage;
using PicView.UILogic.Animations;
using PicView.UILogic.Loading;
using PicView.UILogic.Sizing;
using System;
Expand Down
1 change: 1 addition & 0 deletions PicView/Themes/Styles/Border.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Setter Property="Width" Value="120" />
<Setter Property="CornerRadius" Value="2" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Focusable" Value="False" />
<Setter Property="BorderBrush" Value="{StaticResource BorderBrush}" />
<Setter Property="Effect" Value="{StaticResource MenuShadowButtonBorder}" />
<Setter Property="Background" Value="{StaticResource BackgroundColorBrushAlt}" />
Expand Down
2 changes: 1 addition & 1 deletion PicView/Themes/Styles/MyWindowStyle.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Border
x:Name="WindowBorder"
Margin="0"
Background="{StaticResource WindowBorderColorBrushDefault}">
Background="{StaticResource WindowBackgroundColorBrush}">
<Grid>
<Border BorderThickness="1">
<AdornerDecorator>
Expand Down
2 changes: 2 additions & 0 deletions PicView/Themes/Styles/RadioButton.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<Setter Property="FontFamily" Value="/PicView;component/Themes/Resources/fonts/#Roboto Medium" />
<Setter Property="FontSize" Value="14" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Focusable" Value="False" />
<Setter Property="Effect" Value="{StaticResource MenuShadowButtonBorder}" />
<Setter Property="Template">
<Setter.Value>
Expand Down Expand Up @@ -249,6 +250,7 @@
<Setter Property="Background" Value="Transparent" />
<Setter Property="FontFamily" Value="/PicView;component/Themes/Resources/fonts/#TeX Gyre Heros" />
<Setter Property="FontSize" Value="14" />
<Setter Property="Focusable" Value="False" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Template">
<Setter.Value>
Expand Down
12 changes: 8 additions & 4 deletions PicView/Views/Windows/SettingsWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@
BorderBrush="{StaticResource BorderBrush}"
BorderThickness="1"
CornerRadius="2"
Effect="{StaticResource MenuShadowButtonBorder}">
Effect="{StaticResource MenuShadowButtonBorder}"
Focusable="False">
<CheckBox
x:Name="DarkThemeRadio"
HorizontalContentAlignment="Center"
Expand All @@ -262,7 +263,8 @@
BorderBrush="{StaticResource BorderBrush}"
BorderThickness="1"
CornerRadius="2"
Effect="{StaticResource MenuShadowButtonBorder}">
Effect="{StaticResource MenuShadowButtonBorder}"
Focusable="False">
<CheckBox
x:Name="LightThemeRadio"
HorizontalContentAlignment="Center"
Expand Down Expand Up @@ -303,7 +305,8 @@
Margin="0,3,10,3"
Background="{StaticResource BackgroundColorBrushAlt}"
BorderBrush="{StaticResource BorderBrush}"
BorderThickness="1">
BorderThickness="1"
Focusable="False">
<CheckBox
x:Name="SubDirRadio"
HorizontalContentAlignment="Center"
Expand All @@ -324,7 +327,8 @@
Margin="0,3,10,3"
Background="{StaticResource BackgroundColorBrushAlt}"
BorderBrush="{StaticResource BorderBrush}"
BorderThickness="1">
BorderThickness="1"
Focusable="False">
<CheckBox
x:Name="BorderRadio"
HorizontalContentAlignment="Center"
Expand Down

0 comments on commit 0969e5a

Please sign in to comment.