From 6c38151ab7efac6e0e37e54c1dffd4c559f865ff Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Tue, 9 Dec 2025 13:32:47 -0800 Subject: [PATCH] Move cancel button into actionbar --- src/components/TopMenuSection.vue | 24 ------------------ src/components/actionbar/ComfyActionbar.vue | 28 +++++++++++++++++++++ 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/src/components/TopMenuSection.vue b/src/components/TopMenuSection.vue index 9714b815340..f9cc7054a35 100644 --- a/src/components/TopMenuSection.vue +++ b/src/components/TopMenuSection.vue @@ -20,17 +20,6 @@ class="[&:not(:has(*>*:not(:empty)))]:hidden" > - - - queueStore.pendingTasks.length) const queueHistoryTooltipConfig = computed(() => buildTooltipConfig(t('sideToolbar.queueProgressOverlay.viewJobHistory')) ) -const cancelJobTooltipConfig = computed(() => - buildTooltipConfig(t('menu.interrupt')) -) // Right side panel toggle const { isOpen: isRightSidePanelOpen } = storeToRefs(rightSidePanelStore) -const { isIdle: isExecutionIdle } = storeToRefs(executionStore) const rightSidePanelTooltipConfig = computed(() => buildTooltipConfig(t('rightSidePanel.togglePanel')) ) @@ -131,11 +112,6 @@ onMounted(() => { const toggleQueueOverlay = () => { isQueueOverlayExpanded.value = !isQueueOverlayExpanded.value } - -const cancelCurrentJob = async () => { - if (isExecutionIdle.value) return - await commandStore.execute('Comfy.Interrupt') -}