loleaflet: Selecting table does not reset handler.
This commit is contained in:
parent
d25ed90b1e
commit
fa3b208b7f
1 changed files with 3 additions and 3 deletions
|
@ -887,10 +887,10 @@ L.TileLayer = L.GridLayer.extend({
|
|||
|
||||
// Update text selection handlers.
|
||||
_onUpdateTextSelection: function () {
|
||||
if (this._selections.getLayers().length !== 0) {
|
||||
if ( this._startMarker.isDragged === true || this._endMarker.isDragged === true)
|
||||
return;
|
||||
if ( this._startMarker.isDragged === true || this._endMarker.isDragged === true)
|
||||
return;
|
||||
|
||||
if (this._selections.getLayers().length !== 0) {
|
||||
if (!this._isEmptyRectangle(this._textSelectionStart)) {
|
||||
this._startMarker.setLatLng(this._textSelectionStart.getSouthWest());
|
||||
this._map.addLayer(this._startMarker);
|
||||
|
|
Loading…
Reference in a new issue