[desktop] fix bug 62648

This commit is contained in:
maxkadushkin
2023-05-23 23:00:36 +03:00
parent c4f19a9961
commit cdfa5041a3

View File

@ -1394,6 +1394,7 @@ define([
me._isDocReady = true;
this.hidePreloader();
this.onLongActionEnd(Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument);
Common.NotificationCenter.trigger('app:ready', this.appOptions);
var zf = (this.appOptions.customization && this.appOptions.customization.zoom ? parseInt(this.appOptions.customization.zoom) : 100);
(zf == -1) ? this.api.zoomFitToPage() : ((zf == -2) ? this.api.zoomFitToWidth() : this.api.zoom(zf>0 ? zf : 100));