Skip to content

Commit

Permalink
Fix incorrect theme variant used on modals
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauriethefish committed Nov 5, 2023
1 parent cc11fc2 commit 53d9228
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion QuestPatcher/Views/MessageDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
Icon="/Assets/questpatcher-logo.ico"
Background="{x:Null}"
ExtendClientAreaToDecorationsHint="true"
ExtendClientAreaTitleBarHeightHint="-1">
ExtendClientAreaTitleBarHeightHint="-1"
RequestedThemeVariant="{DynamicResource ThemeVariant}">
<DockPanel HorizontalAlignment="Stretch">
<ExperimentalAcrylicBorder DockPanel.Dock="Bottom" Material="{DynamicResource MainBackgroundMaterial}">
<DockPanel Margin="0 20 0 0">
Expand Down
3 changes: 2 additions & 1 deletion QuestPatcher/Views/RepatchWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
Title="Repatch App"
Background="{x:Null}"
ExtendClientAreaToDecorationsHint="true"
ExtendClientAreaTitleBarHeightHint="-1">
ExtendClientAreaTitleBarHeightHint="-1"
RequestedThemeVariant="{DynamicResource ThemeVariant}">
<Design.DataContext>
<viewModels:RepatchWindowViewModel />
</Design.DataContext>
Expand Down
3 changes: 2 additions & 1 deletion QuestPatcher/Views/SelectAppWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
Title="Change Selected App"
Background="{x:Null}"
ExtendClientAreaToDecorationsHint="true"
ExtendClientAreaTitleBarHeightHint="-1">
ExtendClientAreaTitleBarHeightHint="-1"
RequestedThemeVariant="{DynamicResource ThemeVariant}">
<Design.DataContext>
<viewModels:SelectAppWindowViewModel />
</Design.DataContext>
Expand Down

0 comments on commit 53d9228

Please sign in to comment.