Skip to content

Commit 8a483a4

Browse files
committed
Fix #118
1 parent 81972d9 commit 8a483a4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

FluentWPF/AcrylicWindow.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ static AcrylicWindow()
9393
public override void OnApplyTemplate()
9494
{
9595
base.OnApplyTemplate();
96-
EnableBlur(this);
9796

9897
var caption = this.GetTemplateChild("captionGrid") as FrameworkElement;
9998
if (caption != null)

FluentWPF/Styles/Window.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@
323323
<Style x:Key="AcrylicWindowStyle" TargetType="{x:Type Window}">
324324
<Setter Property="local:AcrylicWindow.TintColor" Value="{DynamicResource SystemControlAcrylicWindowTintColor}"/>
325325
<Setter Property="local:AcrylicWindow.FallbackColor" Value="{DynamicResource SystemControlAcrylicWindowFallbackColor}"/>
326+
<Setter Property="local:AcrylicWindow.Enabled" Value="True" />
326327
<Setter Property="Foreground" Value="{DynamicResource SystemControlAcrylicWindowForegroundBrush}"/>
327328
<Setter Property="Background" Value="Transparent"/>
328329
<Setter Property="BorderBrush" Value="{Binding Path=(local:AccentColors.ImmersiveSystemAccentBrush)}" />

0 commit comments

Comments
 (0)