check for nulls on videodata/panhandler
This commit is contained in:
parent
c8f65f7fca
commit
5e2611f410
@ -111,6 +111,10 @@ class VideoData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
panHandler(event) {
|
panHandler(event) {
|
||||||
|
if(!this.resizer) {
|
||||||
|
this.destroy();
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.resizer.panHandler(event);
|
this.resizer.panHandler(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user