Skip to content

Commit 210c373

Browse files
authored
Fix event listener for hint marker display
1 parent 2fe81d8 commit 210c373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/Draw/L.PM.Draw.Text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Draw.Text = Draw.extend({
8181
// remove event listener to sync hint marker
8282
this._map.off('mousemove', this._syncHintMarker, this);
8383

84-
this._map.off('mousemove', this._showHintMarker, this);
84+
this._map.off('mousemove', this._showHintMarkerAfterMoving, this);
8585

8686
// toggle the draw button of the Toolbar in case drawing mode got disabled without the button
8787
this._map.pm.Toolbar.toggleButton(this.toolbarButtonName, false);

0 commit comments

Comments
 (0)