mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 09:34:04 +02:00
use capture for esc in select mode
so that the mode can be escaped even if a text input is focused
This commit is contained in:
@@ -69,7 +69,7 @@ iD.modes.Select = function(context, selection, initial) {
|
||||
|
||||
keybinding.on('⎋', function() {
|
||||
context.enter(iD.modes.Browse(context));
|
||||
});
|
||||
}, true);
|
||||
|
||||
operations.forEach(function(operation) {
|
||||
operation.keys.forEach(function(key) {
|
||||
|
||||
Reference in New Issue
Block a user