Browse Source

Added test for null in Timeline.onMove

obersalzberg
Uwe Oestermeier 1 year ago
parent
commit
6e77f0ec58
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      lib/pixi/timeline.js

+ 3
- 0
lib/pixi/timeline.js View File

@ -781,6 +781,9 @@ export default class Timeline extends BitmapLabeledGraphics {
onMove(event, interaction) {
let delta = interaction.delta()
if (delta == null) {
return
}
this.scroll += delta.x
while (this.deltas.length > 10) {
this.deltas.pop(0)

Loading…
Cancel
Save