From ac9393c2b3af4a7f873c2496223166a87e2e82ef Mon Sep 17 00:00:00 2001 From: Julia Johannesen Date: Tue, 31 Mar 2026 23:23:15 -0400 Subject: [PATCH] =?UTF-8?q?The=20worlds=20most=20jank=20fix=20for=20hidpi?= =?UTF-8?q?=20known=20to=20man=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/main.js b/main.js index 2d1bbfa..7fbd3e5 100644 --- a/main.js +++ b/main.js @@ -129,10 +129,10 @@ if ('webkit' in window && 'messageHandlers' in window.webkit) { window.webkit.messageHandlers.copySnapshot.postMessage([ 'clipboard', - boundingRect.x + 1, - boundingRect.y + 1, - boundingRect.width - 2, - boundingRect.height - 2, + boundingRect.x + 2, + boundingRect.y + 2, + boundingRect.width - 3, + boundingRect.height - 3, ]); }; @@ -142,10 +142,10 @@ if ('webkit' in window && 'messageHandlers' in window.webkit) { window.webkit.messageHandlers.copySnapshot.postMessage([ 'file', - boundingRect.x + 1, - boundingRect.y + 1, - boundingRect.width - 2, - boundingRect.height - 2, + boundingRect.x + 2, + boundingRect.y + 2, + boundingRect.width - 3, + boundingRect.height - 3, ]); };