add to command palette

This commit is contained in:
dwelle 2025-05-08 23:01:19 +02:00
parent b0174503d0
commit 35fa4fc041
2 changed files with 3 additions and 0 deletions

View File

@ -97,6 +97,8 @@ export const actionToggleLinearEditor = register({
export const actionToggleLoopLock = register({
name: "toggleLoopLock",
category: DEFAULT_CATEGORIES.elements,
icon: polygonIcon,
keywords: ["loop"],
label: (elements, appState, app) => {
const selectedElements = app.scene.getSelectedElements({
selectedElementIds: appState.selectedElementIds,

View File

@ -293,6 +293,7 @@ function CommandPaletteInner({
actionManager.actions.decreaseFontSize,
actionManager.actions.toggleLinearEditor,
actionManager.actions.cropEditor,
actionManager.actions.toggleLoopLock,
actionLink,
actionCopyElementLink,
actionLinkToElement,