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:
parent
5a7e467134
commit
9f7e2e7344
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue