mirror of
https://github.com/MeexReay/poshlostios.git
synced 2025-06-24 10:32:59 +03:00
fix window borders
This commit is contained in:
parent
fbdab12d4d
commit
b4d52498da
@ -18,8 +18,8 @@ async function drawWindowDecorations(ctx, x, y, width, height, title) {
|
|||||||
const buttonRadius = 6;
|
const buttonRadius = 6;
|
||||||
const buttonSpacing = 8;
|
const buttonSpacing = 8;
|
||||||
|
|
||||||
const outerX = x - borderWidth;
|
const outerX = x - borderWidth - 1;
|
||||||
const outerY = y - headerHeight - borderWidth;
|
const outerY = y - headerHeight - borderWidth - 1;
|
||||||
const outerWidth = width + borderWidth * 2;
|
const outerWidth = width + borderWidth * 2;
|
||||||
const outerHeight = height + headerHeight + borderWidth * 2;
|
const outerHeight = height + headerHeight + borderWidth * 2;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user