replay printtwips msgs on zoom after refreshing view data

This fixes incorrect header selections after zoom.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id68768baaddf93e48a7ed767da0f6be98f43f84f
This commit is contained in:
Dennis Francis 2021-02-26 09:12:24 +05:30 committed by Dennis Francis
parent 40298cf18f
commit b72020d480

View file

@ -483,10 +483,10 @@ L.CalcTileLayer = L.CanvasTileLayer.extend({
this._tileSize);
}
this._restrictDocumentSize();
this._replayPrintTwipsMsgs();
this.setSplitPosFromCell();
this._map.fire('zoomchanged');
this.refreshViewData();
this._replayPrintTwipsMsgs();
this._map._socket.sendMessage('commandvalues command=.uno:ViewAnnotationsPosition');
},