[pdf] For bug #78843

This commit is contained in:
Nikita Khromov
2025-12-10 21:11:55 +07:00
parent 4565f6807b
commit df6f449cb8

View File

@ -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;