[Libreoffice-commits] online.git: loleaflet/src
Henry Castro
hcastro at collabora.com
Tue Apr 25 18:42:04 UTC 2017
loleaflet/src/layer/tile/ImpressTileLayer.js | 1 +
1 file changed, 1 insertion(+)
New commits:
commit d5ab42a999420004435272ffabde6d2a26533989
Author: Henry Castro <hcastro at collabora.com>
Date: Tue Apr 25 14:42:23 2017 -0400
loleaflet: initialize undefined variable
Math.min(undefined, number) return NaN
Change-Id: I4b1c7c0428a4e665235a170282a377f980e84924
diff --git a/loleaflet/src/layer/tile/ImpressTileLayer.js b/loleaflet/src/layer/tile/ImpressTileLayer.js
index 859ef679..5a1b73aa 100644
--- a/loleaflet/src/layer/tile/ImpressTileLayer.js
+++ b/loleaflet/src/layer/tile/ImpressTileLayer.js
@@ -40,6 +40,7 @@ L.ImpressTileLayer = L.TileLayer.extend({
onAdd: function (map) {
L.TileLayer.prototype.onAdd.call(this, map);
this._annotations = {};
+ this._topAnnotation = 0;
},
onAnnotationCancel: function (e) {
More information about the Libreoffice-commits
mailing list