fix(front): re-enable keyboard shortcuts

Flupsi 2025-08-15 19:53:43 +02:00 zatwierdzone przez Arne Bollinger
rodzic 4a7a08e7f1
commit aba17fa204
1 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

@ -56,9 +56,6 @@ export default (key: KeyFilter, handler: () => unknown, prevent = false) => {
// NOTE: Inform about possible combination collision
for (const [keys, { __location }] of combinations.entries()) {
// Allow multiple events on 'escape'
if (keys.join('') === 'escape') return;
const collisions = []
if (isMatch(keys, combination) || isMatch(combination, keys)) {
collisions.push(`${__location}: ${keys.join(' + ')}`)