Calc: Sync tile container size after expanding / collapsing input bar.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I1dbe63587d9714101416dcf91726fcc40f8eedf8
This commit is contained in:
Gökay Şatır 2021-03-25 13:55:50 +03:00 committed by Jan Holesovsky
parent 5a7e467134
commit 9f7e2e7344

View file

@ -1553,6 +1553,7 @@ L.Control.LokDialog = L.Control.extend({
}
}
var correctWidth = container.clientWidth - deckOffset;
that._map._docLayer._syncTileContainerSize();
// resize the input bar to the correct size
// the input bar is rendered only if when the size is the expected one
if (that._calcInputBar.width !== correctWidth) {