feat(shortcut): h/a/d

This commit is contained in:
zhangheng
2026-04-03 17:00:09 +08:00
parent b6ae2a6a29
commit bb727d52be
7 changed files with 449 additions and 83 deletions

View File

@@ -136,7 +136,7 @@ export const useTopToolsStore = create<TopToolsState>()(
}
let path = usePaperStore.getState().getItemById(ids[0])
if (path && path.data.type !== "rectangle") {
let flag = val && usePaperStore.getState().mode !== "rectangle"
let flag = val
set((state: TopToolsState) => ({
...state,