mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-29 13:41:56 +02:00
fix(komorebi): close the corner gap around rounded corners
The default window corner rounding is still slightly visible at offset -1 until this corner radius that completely closes up the transparent region, without needing to invasively draw over the target window.
This commit is contained in:
@@ -229,7 +229,7 @@ pub extern "system" fn border_window(
|
||||
// wrong size. In the future we should read the DWM properties
|
||||
// of windows and attempt to match appropriately.
|
||||
if *WINDOWS_11 {
|
||||
RoundRect(hdc, 0, 0, border_rect.right, border_rect.bottom, 14, 14);
|
||||
RoundRect(hdc, 0, 0, border_rect.right, border_rect.bottom, 20, 20);
|
||||
} else {
|
||||
Rectangle(hdc, 0, 0, border_rect.right, border_rect.bottom);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user