Parcourir la source

fix dragging during scrolling

subDesTagesMitExtraKaese il y a 2 ans
Parent
commit
9ed80b70c0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      zitap/static/zitap/js/mouse-drag.js

+ 1 - 1
zitap/static/zitap/js/mouse-drag.js

@@ -63,7 +63,7 @@ window.onload = function()
     {
       rectElement = document.createElement("div")
       rectElement.id = "rect"
-      rectElement.style.position = "absolute"
+      rectElement.style.position = "fixed"
       rectElement.style.border = "1px solid black"
       rectElement.style.zIndex = "100"
       document.body.appendChild(rectElement)