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 -1
View File
@@ -351,7 +351,6 @@ export class AbstractScatter extends Throwable {
}
close() {
console.log('SCATTER WAS CLOSED!')
this._callCloseCallbacks()
this._removeCallbacks()
this._removeSelfFromScatterContainer()
@@ -377,6 +376,7 @@ export class AbstractScatter extends Throwable {
gesture(interaction) {
let delta = interaction.delta()
if (delta != null) {
this.addVelocity(delta)
let rotate = delta.rotate