Bladeren bron

fix dragging during scrolling

subDesTagesMitExtraKaese 2 jaren geleden
bovenliggende
commit
9ed80b70c0
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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)