Modified scatter to get access to the Resize event.

This commit is contained in:
2019-11-28 13:36:00 +01:00
parent 5305561619
commit f3fed535d8
6 changed files with 66 additions and 44 deletions
+1 -2
View File
@@ -2764,7 +2764,6 @@
if (found != null) {
this.interaction.addTarget(key, found);
}
console.log(this.target);
}
let size = this.interaction.current.size;
let limit = this.logInteractionsAbove;
@@ -3467,7 +3466,6 @@
}
close() {
console.log('SCATTER WAS CLOSED!');
this._callCloseCallbacks();
this._removeCallbacks();
this._removeSelfFromScatterContainer();
@@ -3493,6 +3491,7 @@
gesture(interaction) {
let delta = interaction.delta();
if (delta != null) {
this.addVelocity(delta);
let rotate = delta.rotate;