[windows] Better corner detection for frameless windows

This commit is contained in:
Lea Anthony 2023-10-09 17:36:32 +11:00
commit 602fafafea
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405
5 changed files with 6 additions and 6 deletions

View file

@ -107,7 +107,7 @@ function handleResize(e) {
let resizeHandleWidth = GetFlag("system.resizeHandleWidth") || 5;
// Extra pixels for the corner areas
let cornerExtra = GetFlag("resizeCornerExtra") || 3;
let cornerExtra = GetFlag("resizeCornerExtra") || 10;
let rightBorder = window.outerWidth - e.clientX < resizeHandleWidth;
let leftBorder = e.clientX < resizeHandleWidth;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long