[Libreoffice-commits] online.git: loleaflet/src
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Jul 29 23:49:04 UTC 2018
loleaflet/src/layer/tile/TileLayer.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3e3857e1c74f7d2def6c7b69289151ac5b2812d0
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Sun Jul 29 19:45:21 2018 -0400
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Sun Jul 29 19:48:07 2018 -0400
loleaflet: fix tile debugging mode
Change-Id: I73a9d9c449a89540a057f68d2a5536f18b0ee931
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index b53b9b472..e90459e43 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -2413,7 +2413,7 @@ L.TileLayer = L.GridLayer.extend({
rect.setStyle({fillOpacity: opac - 0.04});
}
}
- this._debugTimeoutId = setTimeout(function () { this._map._docLayer._debugTimeout(); }, 50);
+ this._debugTimeoutId = setTimeout(L.bind(this._debugTimeout, this), 50);
}
},
@@ -2426,7 +2426,7 @@ L.TileLayer = L.GridLayer.extend({
this._postKeyboardEvent('input', this._debugLorem.charCodeAt(this._debugLoremPos % this._debugLorem.length), 0);
}
this._debugLoremPos++;
- this._debugTypeTimeoutId = setTimeout(function () { this._map._docLayer._debugTypeTimeout(); }, 50);
+ this._debugTypeTimeoutId = setTimeout(L.bind(this._debugTypeTimeout, this), 50);
}
});
More information about the Libreoffice-commits
mailing list