Added test for null in Timeline.onMove
This commit is contained in:
parent
1e17184194
commit
6e77f0ec58
@ -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…
Reference in New Issue
Block a user