parent
34e0461ca8
commit
60c002f94a
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ L.U.Map.include({
|
||||||
this.help.show('edit')
|
this.help.show('edit')
|
||||||
}
|
}
|
||||||
if (e.keyCode === L.U.Keys.ESC) {
|
if (e.keyCode === L.U.Keys.ESC) {
|
||||||
if (this.editEnabled) this.editTools.stopDrawing()
|
if (this.editEnabled) this.editTools.commitDrawing()
|
||||||
if (this.measureTools.enabled()) this.measureTools.stopDrawing()
|
if (this.measureTools.enabled()) this.measureTools.stopDrawing()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue