Skip to content

Commit

Permalink
No more extra noise for acrylic
Browse files Browse the repository at this point in the history
  • Loading branch information
NotYoojun committed Jun 27, 2024
1 parent 724fc34 commit 3b2820b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions samples/WpfApp1/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
ResizeMode="CanMinimize"
ui:ThemeManager.IsThemeAware="True"
ui:TitleBar.ExtendViewIntoTitleBar="False" ui:WindowHelper.SystemBackdropType="Acrylic10"
ui:WindowHelper.ApplyNoise="False"
ui:WindowHelper.UseModernWindowStyle="True"
Loaded="Window_Loaded" Background="{x:Null}">
<Canvas>
Expand Down
4 changes: 2 additions & 2 deletions source/iNKORE.UI.WPF.Modern/Themes/Styles/Window.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@
<Style.Triggers>
<Trigger Property="chelper:WindowHelper.SystemBackdropType" Value="Acrylic10">
<Setter Property="chelper:WindowHelper.ApplyBackground" Value="False"/>
<Setter Property="chelper:WindowHelper.ApplyNoise" Value="True"/>
<!--<Setter Property="chelper:WindowHelper.ApplyNoise" Value="True"/>-->
</Trigger>
<Trigger Property="chelper:WindowHelper.SystemBackdropType" Value="Acrylic11">
<Setter Property="chelper:WindowHelper.ApplyBackground" Value="False"/>
<Setter Property="chelper:WindowHelper.ApplyNoise" Value="True"/>
<!--<Setter Property="chelper:WindowHelper.ApplyNoise" Value="True"/>-->
</Trigger>
<Trigger Property="chelper:WindowHelper.SystemBackdropType" Value="Mica">
<Setter Property="chelper:WindowHelper.ApplyBackground" Value="False"/>
Expand Down

0 comments on commit 3b2820b

Please sign in to comment.