Commit 3b710cfb authored by christianrhansen's avatar christianrhansen
Browse files

fixed intersecting query

parent a4e015e6
...@@ -464,8 +464,8 @@ ...@@ -464,8 +464,8 @@
this.tempHandler.move.side = 'left' this.tempHandler.move.side = 'left'
} }
// intersecting // intersecting
else if (Math.sign(obj.offsetLeft) === 0) { else if (isNaN(Math.sign(obj.offsetLeft))) {
this.tempHandler.resize.intersectingMain = true // this.tempHandler.resize.intersectingMain = true
} }
// behind right side // behind right side
else if (Math.sign(obj.offsetLeft) === 1) { else if (Math.sign(obj.offsetLeft) === 1) {
...@@ -482,7 +482,7 @@ ...@@ -482,7 +482,7 @@
this.tempHandler.resize.side = 'left' this.tempHandler.resize.side = 'left'
} }
// intersecting // intersecting
else if (Math.sign(obj.offsetLeft) === 0) { else if (isNaN(Math.sign(obj.offsetLeft))) {
} }
// on right side // on right side
else if (Math.sign(obj.offsetLeft) === 1) { else if (Math.sign(obj.offsetLeft) === 1) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment