Commit 3b710cfb authored by christianrhansen's avatar christianrhansen

fixed intersecting query

parent a4e015e6
......@@ -464,8 +464,8 @@
this.tempHandler.move.side = 'left'
}
// intersecting
else if (Math.sign(obj.offsetLeft) === 0) {
this.tempHandler.resize.intersectingMain = true
else if (isNaN(Math.sign(obj.offsetLeft))) {
// this.tempHandler.resize.intersectingMain = true
}
// behind right side
else if (Math.sign(obj.offsetLeft) === 1) {
......@@ -482,7 +482,7 @@
this.tempHandler.resize.side = 'left'
}
// intersecting
else if (Math.sign(obj.offsetLeft) === 0) {
else if (isNaN(Math.sign(obj.offsetLeft))) {
}
// on right side
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