check for nulls on videodata/panhandler

This commit is contained in:
Tamius Han 2018-09-18 00:42:30 +02:00
parent c8f65f7fca
commit 5e2611f410

View File

@ -111,6 +111,10 @@ class VideoData {
}
panHandler(event) {
if(!this.resizer) {
this.destroy();
return;
}
this.resizer.panHandler(event);
}