[Libreoffice-commits] online.git: loleaflet/src
Henry Castro
hcastro at collabora.com
Thu Jun 25 17:37:57 PDT 2015
loleaflet/src/layer/tile/TileLayer.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 392a4bbb8523fe0a2dc4583c467eaef6b1f3d9bb
Author: Henry Castro <hcastro at collabora.com>
Date: Thu Jun 25 20:36:53 2015 -0400
loleaflet: Reset drag flag when no selection.
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index 3675fdc..8d405a2 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -865,6 +865,8 @@ L.TileLayer = L.GridLayer.extend({
this._textSelectionEnd = new L.LatLngBounds(new L.LatLng(0, 0), new L.LatLng(0, 0));
this._map.removeLayer(this._startMarker);
this._map.removeLayer(this._endMarker);
+ this._endMarker.isDragged = false;
+ this._startMarker.isDragged = false;
}
},
More information about the Libreoffice-commits
mailing list