Skip to content

Commit

Permalink
WinGui: Fix a potential crash on startup when using the Dark Theme. F…
Browse files Browse the repository at this point in the history
…ixes (#5567)

(cherry picked from commit 449b660)
  • Loading branch information
sr55 committed Dec 5, 2023
1 parent ea65eb1 commit 093231a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Windows users, please make sure to install [Microsoft .NET Desktop Runtime versi
#### Windows

- Fixed an issue where Nvidia NVDec option was ignored (#5569)
- Fixed an issue with theme loading that could cause a crash on start (#5567)


## HandBrake 1.7.1
Expand Down
1 change: 1 addition & 0 deletions win/CS/HandBrakeWPF/Themes/Generic.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<SolidColorBrush x:Key="Ui.Light" />
<SolidColorBrush x:Key="Ui.ToolbarHover" />
<SolidColorBrush x:Key="Ui.ContrastLight" />
<SolidColorBrush x:Key="Ui.Ultralight" />
<SolidColorBrush x:Key="Ui.UltraLight2" />
<SolidColorBrush x:Key="Ui.ListBoxSelect" />
<SolidColorBrush x:Key="Ui.Arrow" />
Expand Down
1 change: 1 addition & 0 deletions win/CS/HandBrakeWPF/Themes/Light.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<SolidColorBrush x:Key="Ui.Light" Color="WhiteSmoke" />
<SolidColorBrush x:Key="Ui.ContrastLight" Color="#C0C0C0" />
<SolidColorBrush x:Key="Ui.UltraLight2" Color="AliceBlue" />
<SolidColorBrush x:Key="Ui.Ultralight" Color="AliceBlue" />
<SolidColorBrush x:Key="Ui.Arrow" Color="#252525" />
<SolidColorBrush x:Key="Ui.ListBoxSelect" Color="#D8D8D8" />

Expand Down

0 comments on commit 093231a

Please sign in to comment.