mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-04 05:35:20 +00:00
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
This commit is contained in:
@@ -18,14 +18,17 @@
|
||||
|
||||
<AcrylicBrush x:Key="NavigationViewDefaultPaneBackground"
|
||||
BackgroundSource="Backdrop"
|
||||
FallbackColor="{ThemeResource SystemChromeMediumLowColor}"
|
||||
TintColor="{ThemeResource SystemChromeMediumColor}"
|
||||
TintOpacity="0.5" />
|
||||
<AcrylicBrush x:Key="NavigationViewTopPaneBackground"
|
||||
BackgroundSource="Backdrop"
|
||||
FallbackColor="{ThemeResource SystemChromeMediumLowColor}"
|
||||
TintColor="{ThemeResource SystemChromeMediumColor}"
|
||||
TintOpacity="0.5" />
|
||||
<AcrylicBrush x:Key="NavigationViewExpandedPaneBackground"
|
||||
BackgroundSource="HostBackdrop"
|
||||
FallbackColor="{ThemeResource SystemChromeMediumLowColor}"
|
||||
TintColor="{ThemeResource SystemChromeMediumColor}"
|
||||
TintOpacity="0.7" />
|
||||
</ResourceDictionary>
|
||||
|
||||
Reference in New Issue
Block a user