mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
fix backspace not working as a keyboard shortcut (#9995)
This commit is contained in:
@@ -376,7 +376,6 @@ export function uiInit(context) {
|
||||
|
||||
var panPixels = 80;
|
||||
context.keybinding()
|
||||
.on('⌫', function(d3_event) { d3_event.preventDefault(); })
|
||||
.on([t('sidebar.key'), '`', '²', '@'], ui.sidebar.toggle) // #5663, #6864 - common QWERTY, AZERTY
|
||||
.on('←', pan([panPixels, 0]))
|
||||
.on('↑', pan([0, panPixels]))
|
||||
|
||||
Reference in New Issue
Block a user