Move clipspace from action bar to topbar dropdown menu (#956)

This commit is contained in:
Chenlei Hu
2024-09-24 16:51:46 +09:00
parent 35a7c81fd8
commit 62bddded37
2 changed files with 8 additions and 6 deletions

View File

@@ -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"

View File

@@ -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']
}
]
}