mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Reversing MainWindow Blur call and settings window modification
Added WindowsAccentMode to Base theme
This commit is contained in:
@@ -207,7 +207,6 @@ namespace Wox
|
||||
InitialTray();
|
||||
|
||||
Closing += MainWindow_Closing;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -256,7 +255,6 @@ namespace Wox
|
||||
|
||||
InitProgressbarAnimation();
|
||||
WindowIntelopHelper.DisableControlBox(this);
|
||||
WindowIntelopHelper.EnableBlur(this);
|
||||
CheckUpdate();
|
||||
}
|
||||
|
||||
|
||||
@@ -199,20 +199,7 @@
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0 2">
|
||||
<TextBlock Text="{DynamicResource windowsAccents}"/>
|
||||
<ComboBox Width="100">
|
||||
<ComboBox.Items>
|
||||
<ComboBoxItem Content="None"/>
|
||||
<ComboBoxItem Content="Accent"/>
|
||||
<ComboBoxItem Content="Accent Blur"/>
|
||||
<ComboBoxItem Content="Blur"/>
|
||||
</ComboBox.Items>
|
||||
|
||||
</ComboBox>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
<Setter Property="Stroke" Value="Blue" />
|
||||
</Style>
|
||||
|
||||
<system:Int32 x:Key="WindowsAccentMode">0</system:Int32>
|
||||
<!-- Item Style -->
|
||||
<Style x:Key="BaseItemTitleStyle" TargetType="{x:Type TextBlock}">
|
||||
<Setter Property="Foreground" Value="#FFFFF8" />
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
</Style>
|
||||
|
||||
<Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}">
|
||||
<Setter Property="Background" Value="#80FFFFFF" />
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<!--<Setter Property="Background" Value="#80FFFFFF" />-->
|
||||
|
||||
</Style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user