[Libreoffice-commits] online.git: loleaflet/src

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 5 11:41:56 UTC 2018


 loleaflet/src/map/Map.js |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit af0a14f0346cbbc5430628cbd65002da074b6541
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Wed Sep 5 13:40:34 2018 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Wed Sep 5 13:40:34 2018 +0200

    Reduce code deduplication
    
    Change-Id: I5ed788d37ff8096557423095d3a7751f6d29e91c

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 0a4a4662b..be298a6df 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -823,8 +823,7 @@ L.Map = L.Evented.extend({
 				this._active = true;
 				if (this._docLayer) {
 					this._docLayer._onMessage('invalidatetiles: EMPTY', null);
-					this._docLayer._clientVisibleArea = '';
-					this._docLayer._clientZoom = '';
+					this._docLayer._resetClientVisArea();
 				}
 
 				if (vex.dialogID > 0) {


More information about the Libreoffice-commits mailing list