mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[AlwaysOnTop]Fix border visibility with black color (#30868)
This commit is contained in:
@@ -126,6 +126,11 @@ bool WindowBorder::Init(HINSTANCE hinstance)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!SetLayeredWindowAttributes(m_window, 0, 255, LWA_ALPHA))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// set position of the border-window behind the tracking window
|
||||
// helps to prevent border overlapping (happens after turning borders off and on)
|
||||
SetWindowPos(m_trackingWindow
|
||||
|
||||
Reference in New Issue
Block a user