Removed jQuery and D3 dependencies.

This commit is contained in:
2019-03-28 09:37:30 +01:00
parent 85e7da252f
commit df0c2fea3a
14 changed files with 32 additions and 54393 deletions
+4 -4
View File
@@ -7146,12 +7146,12 @@
e.preventDefault();
let event = new CustomEvent('resizeStarted');
let oldPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
this.bringToFront();
this.element.style.transformOrigin = "0% 0%";
let newPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
let offset = Points.subtract(oldPostition, newPostition);
@@ -7204,9 +7204,9 @@
e.preventDefault();
let event = new CustomEvent('resizeEnded');
let oldPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
let oldPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
this.element.style.transformOrigin = "50% 50%";
let newPostition = { x: $(this.element).position().left, y: $(this.element).position().top };
let newPostition = {x: this.element.offsetLeft, y: this.element.offsetTop};
let offset = Points.subtract(oldPostition, newPostition);
TweenLite.to(this.element, 0, { css: { left: "+=" + offset.x + "px" } });