From 627976621c114d4c63a4bf5472d411068d9376af Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sun, 24 Oct 2021 18:38:05 -0400 Subject: [PATCH] Make dragging to the top to delete respect the size of the menubar --- macrovision.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macrovision.js b/macrovision.js index 87ff916d..d60cd12c 100644 --- a/macrovision.js +++ b/macrovision.js @@ -1413,7 +1413,7 @@ function clickDown(target, x, y) { // could we make this actually detect the menu area? function hoveringInDeleteArea(e) { - return e.clientY < document.body.clientHeight / 10; + return e.clientY < document.querySelector("#menubar").clientHeight; } function clickUp(e) {