Skip to content

Commit b310b1c

Browse files
authored
Give our NavigationView's acrylic a fallback color (#9752)
It will be a different color than the background, so it will look less weird when it's unfocused. It also fixes the bug where the navigation menu is transparent when acrylic is disabled systemwide. Fixes #9337
1 parent 9e83655 commit b310b1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cascadia/TerminalSettingsEditor/MainPage.xaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,17 @@
1818

1919
<AcrylicBrush x:Key="NavigationViewDefaultPaneBackground"
2020
BackgroundSource="Backdrop"
21+
FallbackColor="{ThemeResource SystemChromeMediumLowColor}"
2122
TintColor="{ThemeResource SystemChromeMediumColor}"
2223
TintOpacity="0.5" />
2324
<AcrylicBrush x:Key="NavigationViewTopPaneBackground"
2425
BackgroundSource="Backdrop"
26+
FallbackColor="{ThemeResource SystemChromeMediumLowColor}"
2527
TintColor="{ThemeResource SystemChromeMediumColor}"
2628
TintOpacity="0.5" />
2729
<AcrylicBrush x:Key="NavigationViewExpandedPaneBackground"
2830
BackgroundSource="HostBackdrop"
31+
FallbackColor="{ThemeResource SystemChromeMediumLowColor}"
2932
TintColor="{ThemeResource SystemChromeMediumColor}"
3033
TintOpacity="0.7" />
3134
</ResourceDictionary>

0 commit comments

Comments
 (0)