[PE] изменено место вызова onApiPageSize.
This commit is contained in:
parent
1fe057d4b4
commit
6779514185
|
@ -287,8 +287,6 @@ define([
|
|||
|
||||
this.api.asc_registerCallback('asc_onCountPages', _.bind(this.onApiCountPages, this));
|
||||
|
||||
this.onApiPageSize(this.api.get_PresentationWidth(), this.api.get_PresentationHeight());
|
||||
|
||||
this.onSetupCopyStyleButton();
|
||||
},
|
||||
|
||||
|
@ -1757,6 +1755,7 @@ define([
|
|||
},
|
||||
|
||||
activateControls: function() {
|
||||
this.onApiPageSize(this.api.get_PresentationWidth(), this.api.get_PresentationHeight());
|
||||
this.toolbar.lockToolbar(PE.enumLock.disableOnStart, false, {array: this.toolbar.slideOnlyControls.concat(this.toolbar.shapeControls)});
|
||||
this._state.activated = true;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue