fallback to normal blur on linux.
This commit is contained in:
parent
1d4972d679
commit
d34ac70573
|
@ -31,6 +31,7 @@ namespace Avalonia.Controls
|
|||
if (!x)
|
||||
{
|
||||
SystemDecorations = SystemDecorations.BorderOnly;
|
||||
TransparencyLevelHint = WindowTransparencyLevel.Blur;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -38,7 +39,7 @@ namespace Avalonia.Controls
|
|||
protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
|
||||
{
|
||||
base.OnApplyTemplate(e);
|
||||
ExtendClientAreaChromeHints = ExtendClientAreaChromeHints.ManagedChromeButtons;
|
||||
ExtendClientAreaChromeHints = ExtendClientAreaChromeHints.SystemChromeButtons;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue