fix group shortcut

This commit is contained in:
anovazzi1 2024-06-18 13:04:24 -03:00
commit b46d68ebc5

View file

@ -193,9 +193,9 @@ export default function Page({
} }
function handleGroup(e: KeyboardEvent) { function handleGroup(e: KeyboardEvent) {
if (selectionMenuVisible) {
e.preventDefault(); e.preventDefault();
(e as unknown as Event).stopImmediatePropagation(); (e as unknown as Event).stopImmediatePropagation();
if (selectionMenuVisible) {
handleGroupNode(); handleGroupNode();
} }
} }