Merge branch 'master' into obersalzberg

# Conflicts:
#	dist/iwmlib.js
#	dist/iwmlib.pixi.js
This commit is contained in:
2021-03-15 17:02:08 +01:00
69 changed files with 18107 additions and 43055 deletions
+3 -2
View File
@@ -382,6 +382,7 @@ export class AbstractScatter extends Throwable {
let delta = interaction.delta()
if (delta != null) {
this.addVelocity(delta) // uo: reverted commit fa0256d782dd498c6d3e51321260ca375ca9f855
let rotate = delta.rotate
let zoom = delta.zoom
if (this.maxRotation != null) {
@@ -581,7 +582,7 @@ export class AbstractScatter extends Throwable {
}
_move(delta) {
this.addVelocity(delta)
// this.addVelocity(delta) uo: reverted commit fa0256d782dd498c6d3e51321260ca375ca9f855
this.x += this.movableX ? delta.x : 0
this.y += this.movableX ? delta.y : 0
}
@@ -1396,7 +1397,7 @@ export class DOMScatter extends AbstractScatter {
}
this._x = x
this._y = y
this.addVelocity({ x: delta.x, y: delta.y })
// this.addVelocity({ x: delta.x, y: delta.y }) uo: reverted commit fa0256d782dd498c6d3e51321260ca375ca9f855
TweenLite.set(this.element, { x, y })
}