Commit a4e015e6 authored by christianrhansen's avatar christianrhansen
Browse files

changed comments. removed commented out js.

parent b02e3eb9
Pipeline #19654 passed with stage
in 3 minutes and 56 seconds
...@@ -461,16 +461,14 @@ ...@@ -461,16 +461,14 @@
// behind left side // behind left side
if (Math.sign(obj.offsetLeft) < 0) { if (Math.sign(obj.offsetLeft) < 0) {
// this.tempHandler.move.left = 4
this.tempHandler.move.side = 'left' this.tempHandler.move.side = 'left'
} }
// visible // intersecting
else if (Math.sign(obj.offsetLeft) === 0) { else if (Math.sign(obj.offsetLeft) === 0) {
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) {
// this.tempHandler.move.left = window.innerWidth - 40 - 4
this.tempHandler.move.side = 'right' this.tempHandler.move.side = 'right'
} }
} }
...@@ -481,17 +479,14 @@ ...@@ -481,17 +479,14 @@
// on left side // on left side
if (Math.sign(obj.offsetLeft) === -1) { if (Math.sign(obj.offsetLeft) === -1) {
// this.tempHandler.resize.left = 4
this.tempHandler.resize.side = 'left' this.tempHandler.resize.side = 'left'
} }
// visible // intersecting
else if (Math.sign(obj.offsetLeft) === 0) { else if (Math.sign(obj.offsetLeft) === 0) {
} }
// on right side // on right side
else if (Math.sign(obj.offsetLeft) === 1) { else if (Math.sign(obj.offsetLeft) === 1) {
// this.tempHandler.resize.left = window.innerWidth - 40 - 4
this.tempHandler.resize.side = 'right' this.tempHandler.resize.side = 'right'
// if (this.tempHandler.move.intersectingMain === false) this.tempHandler.resize.intersectingMain = true
} }
} }
}, },
......
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