mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[PTRun]Bring back acrylic and proper fix to title bar accent showing (#33458)
* Revert "[PTRun]Fix accent on title bar bleed into UI (#33046)" This reverts commit8bb5a33572. * Revert "[PTRun]Use Mica backdrop to fix crashes with WPFUI (#32118)" This reverts commitb9da1e6abf. * Fix DWMAttributes in Wox Plugin Native Methods * Fix titlebar accent showing * Fix number on wrong enum
This commit is contained in:
@@ -32,9 +32,9 @@
|
||||
|
||||
<Grid x:Name="RootGrid" MouseDown="OnMouseDown">
|
||||
<!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme -->
|
||||
<!--<Grid.Background>
|
||||
<Grid.Background>
|
||||
<SolidColorBrush Opacity="0.8" Color="{DynamicResource ApplicationBackgroundColor}" />
|
||||
</Grid.Background>-->
|
||||
</Grid.Background>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
@@ -45,11 +45,6 @@
|
||||
Grid.Row="0"
|
||||
Padding="12,4,12,3">
|
||||
<local:LauncherControl x:Name="SearchBox" />
|
||||
<Border.Background>
|
||||
<!-- Setting the background of the search bar to fix https://github.com/microsoft/PowerToys/issues/30206 -->
|
||||
<!-- The title bar accent would bleed if the option to "Show accent color on title bars and windows borders" is enabled on Windows -->
|
||||
<SolidColorBrush Opacity="1" Color="{DynamicResource ApplicationBackgroundColor}" />
|
||||
</Border.Background>
|
||||
</Border>
|
||||
|
||||
<!-- Have to use a Grid instead of a StackPanel for scrolling to work? -->
|
||||
|
||||
Reference in New Issue
Block a user