Modified scatter to get access to the Resize event.
This commit is contained in:
Vendored
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user