fix backspace not working as a keyboard shortcut (#9995)

This commit is contained in:
Kyℓe Hensel
2025-01-15 22:05:46 +11:00
committed by GitHub
parent ae0c95b0c4
commit 172aeb6e57

View File

@@ -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]))