browser: preview: fix invalidate all parts
It is called when changes dark/light mode, reset the fetch property to false. Change-Id: Id8de5245d56405624ebe72b5655d37b52892f654 Signed-off-by: Henry Castro <hcastro@collabora.com>pull/9027/head
parent
aa9ee925f8
commit
a4d316f2ff
|
@ -808,6 +808,7 @@ L.Control.PartsPreview = L.Control.extend({
|
|||
return;
|
||||
|
||||
for (var part = 0; part < this._previewTiles.length; part++) {
|
||||
this._previewTiles[part].fetched = false;
|
||||
this._map.getPreview(part, part,
|
||||
this.options.maxWidth,
|
||||
this.options.maxHeight,
|
||||
|
|
Loading…
Reference in New Issue