Skip to content

Commit

Permalink
Move clipspace from action bar to topbar dropdown menu (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Sep 24, 2024
1 parent fc1f0ed commit 4690329
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/appMenu/AppMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@
() => commandStore.getCommand('Comfy.RefreshNodeDefinitions')()
"
/>
<Button
v-tooltip.bottom="$t('menu.clipspace')"
icon="pi pi-clipboard"
severity="secondary"
@click="() => commandStore.getCommand('Comfy.OpenClipspace')()"
/>
<Button
v-tooltip.bottom="$t('menu.resetView')"
icon="pi pi-expand"
Expand Down
8 changes: 8 additions & 0 deletions src/stores/coreMenuItemStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ export const useCoreMenuItemStore = defineStore('coreMenuItem', () => {
label: 'Clear Workflow',
icon: 'pi pi-trash',
command: commandStore.commands['Comfy.ClearWorkflow']
},
{
separator: true
},
{
label: 'Clipspace',
icon: 'pi pi-clipboard',
command: commandStore.commands['Comfy.OpenClipspace']
}
]
}
Expand Down

0 comments on commit 4690329

Please sign in to comment.