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;
|
TopMost = true;
|
||||||
Bounds = bounds;
|
Bounds = bounds;
|
||||||
|
|
||||||
// Important: background color = transparency key
|
|
||||||
// so GDI background is not drawn, blur shows through.
|
|
||||||
BackColor = Color.Black;
|
BackColor = Color.Black;
|
||||||
//TransparencyKey = Color.Black;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override CreateParams CreateParams
|
protected override CreateParams CreateParams
|
||||||
|
|
@ -76,7 +73,6 @@ namespace PrivacyGlass
|
||||||
// ACCENT_ENABLE_BLURBEHIND on Win10/11
|
// ACCENT_ENABLE_BLURBEHIND on Win10/11
|
||||||
AccentPolicy accent = new AccentPolicy();
|
AccentPolicy accent = new AccentPolicy();
|
||||||
accent.AccentState = AccentState.ACCENT_ENABLE_BLURBEHIND;
|
accent.AccentState = AccentState.ACCENT_ENABLE_BLURBEHIND;
|
||||||
//accent.AccentState = AccentState.ACCENT_ENABLE_ACRYLICBLURBEHIND;
|
|
||||||
|
|
||||||
int a = TintOpacity & 0xFF;
|
int a = TintOpacity & 0xFF;
|
||||||
int color =
|
int color =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue