cleanup
This commit is contained in:
parent
4ff988deaf
commit
ba8183b73b
1 changed files with 1 additions and 5 deletions
|
|
@ -20,10 +20,7 @@ namespace PrivacyGlass
|
|||
TopMost = true;
|
||||
Bounds = bounds;
|
||||
|
||||
// Important: background color = transparency key
|
||||
// so GDI background is not drawn, blur shows through.
|
||||
BackColor = Color.Black;
|
||||
//TransparencyKey = Color.Black;
|
||||
}
|
||||
|
||||
protected override CreateParams CreateParams
|
||||
|
|
@ -76,8 +73,7 @@ namespace PrivacyGlass
|
|||
// ACCENT_ENABLE_BLURBEHIND on Win10/11
|
||||
AccentPolicy accent = new AccentPolicy();
|
||||
accent.AccentState = AccentState.ACCENT_ENABLE_BLURBEHIND;
|
||||
//accent.AccentState = AccentState.ACCENT_ENABLE_ACRYLICBLURBEHIND;
|
||||
|
||||
|
||||
int a = TintOpacity & 0xFF;
|
||||
int color =
|
||||
(a << 24) |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue