fix(Filmstrip.js):Make sure the local thumbnail is there before getting the height
This commit is contained in:
parent
984085ac54
commit
0c08f96755
|
@ -444,7 +444,7 @@ const Filmstrip = {
|
|||
|
||||
promises.push(new Promise(() => {
|
||||
let { localThumb } = this.getThumbs();
|
||||
let height = localThumb.height();
|
||||
let height = localThumb ? localThumb.height() : 0;
|
||||
let fontSize = UIUtil.getIndicatorFontSize(height);
|
||||
this.filmstrip.find('.indicator').animate({
|
||||
fontSize
|
||||
|
|
Loading…
Reference in New Issue