Преглед изворни кода

fix dragging during scrolling

subDesTagesMitExtraKaese пре 2 година
родитељ
комит
9ed80b70c0
1 измењених фајлова са 1 додато и 1 уклоњено
  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)