mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 13:38:11 +08:00
Move node graph from panel to overlay on viewport
This commit is contained in:
@@ -103,7 +103,7 @@ export function createInputManager(editor: Editor, dialog: DialogState, document
|
||||
if (await shouldRedirectKeyboardEventToBackend(e)) {
|
||||
e.preventDefault();
|
||||
const modifiers = makeKeyboardModifiersBitfield(e);
|
||||
editor.instance.onKeyDown(key, modifiers);
|
||||
editor.instance.onKeyDown(key, modifiers, e.repeat);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ export function createInputManager(editor: Editor, dialog: DialogState, document
|
||||
if (await shouldRedirectKeyboardEventToBackend(e)) {
|
||||
e.preventDefault();
|
||||
const modifiers = makeKeyboardModifiersBitfield(e);
|
||||
editor.instance.onKeyUp(key, modifiers);
|
||||
editor.instance.onKeyUp(key, modifiers, e.repeat);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user