[Libreoffice-commits] online.git: loleaflet/src
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Dec 14 17:00:30 UTC 2018
loleaflet/src/layer/tile/GridLayer.js | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
New commits:
commit abfb9c8ffacc6525cb68f7242e36120ad66fc24e
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Dec 14 18:00:04 2018 +0100
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Dec 14 18:00:04 2018 +0100
Revert "Fix up _addTiles method to handle existing tiles correctly"
This reverts commit 1fd9242dbe1d7f9d4a6252dcdcd7ef0ce898b819.
diff --git a/loleaflet/src/layer/tile/GridLayer.js b/loleaflet/src/layer/tile/GridLayer.js
index 4d8792779..afca4f8b4 100644
--- a/loleaflet/src/layer/tile/GridLayer.js
+++ b/loleaflet/src/layer/tile/GridLayer.js
@@ -921,12 +921,10 @@ L.GridLayer = L.Layer.extend({
tile: tile,
coords: coords
});
- } else {
- tile = this._tiles[key].el;
- }
- if (this._tileCache[key]) {
- tile.src = this._tileCache[key];
+ if (this._tileCache[key]) {
+ tile.src = this._tileCache[key];
+ }
}
}
More information about the Libreoffice-commits
mailing list