mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Reversing MainWindow Blur call and settings window modification
Added WindowsAccentMode to Base theme
This commit is contained in:
parent
f24a6f0e3c
commit
d8b806966a
4 changed files with 3 additions and 16 deletions
|
|
@ -208,7 +208,6 @@ namespace Wox
|
||||||
|
|
||||||
Closing += MainWindow_Closing;
|
Closing += MainWindow_Closing;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void pnlResult_ItemDropEvent(Result result, IDataObject dropDataObject, DragEventArgs args)
|
void pnlResult_ItemDropEvent(Result result, IDataObject dropDataObject, DragEventArgs args)
|
||||||
|
|
@ -256,7 +255,6 @@ namespace Wox
|
||||||
|
|
||||||
InitProgressbarAnimation();
|
InitProgressbarAnimation();
|
||||||
WindowIntelopHelper.DisableControlBox(this);
|
WindowIntelopHelper.DisableControlBox(this);
|
||||||
WindowIntelopHelper.EnableBlur(this);
|
|
||||||
CheckUpdate();
|
CheckUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -199,21 +199,8 @@
|
||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
</StackPanel>
|
</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>
|
</StackPanel>
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@
|
||||||
<Setter Property="Stroke" Value="Blue" />
|
<Setter Property="Stroke" Value="Blue" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<system:Int32 x:Key="WindowsAccentMode">0</system:Int32>
|
||||||
<!-- Item Style -->
|
<!-- Item Style -->
|
||||||
<Style x:Key="BaseItemTitleStyle" TargetType="{x:Type TextBlock}">
|
<Style x:Key="BaseItemTitleStyle" TargetType="{x:Type TextBlock}">
|
||||||
<Setter Property="Foreground" Value="#FFFFF8" />
|
<Setter Property="Foreground" Value="#FFFFF8" />
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}">
|
<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>
|
</Style>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue