Sfoglia il codice sorgente

Make dragging to the top to delete respect the size of the menubar

master
Fen Dweller 4 anni fa
parent
commit
627976621c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Vedi File

@@ -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) {


Loading…
Annulla
Salva