[SSE] Print preview: add resize
This commit is contained in:
parent
b0a69a7f1d
commit
20e9ad355a
|
@ -99,6 +99,12 @@ define([
|
|||
|
||||
this.fillComponents(this.printSettings);
|
||||
this.registerControlEvents(this.printSettings);
|
||||
|
||||
Common.NotificationCenter.on('window:resize', _.bind(function () {
|
||||
if (this._isPreviewVisible) {
|
||||
this.api.asc_drawPrintPreview(this._navigationPreview.currentPage);
|
||||
}
|
||||
}, this));
|
||||
},
|
||||
|
||||
setApi: function(o) {
|
||||
|
|
Loading…
Reference in a new issue