mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
[pdf] For bug #78843
This commit is contained in:
@ -880,7 +880,7 @@
|
||||
CDocument.prototype.calculateVisibleBlocks = function()
|
||||
{
|
||||
let element = document.getElementById(this.id);
|
||||
if (0 === element.offsetWidth || !this.canvas)
|
||||
if (0 === element.offsetWidth || !this.canvas || this.isNeedResize())
|
||||
return;
|
||||
|
||||
this.startBlock = -1;
|
||||
|
||||
Reference in New Issue
Block a user