mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 15:40:10 +00:00
Expose Queue Button on the menu. (#238)
This commit is contained in:
@@ -41,6 +41,7 @@ export class ComfyAppMenu {
|
||||
settingsGroup: ComfyButtonGroup
|
||||
viewGroup: ComfyButtonGroup
|
||||
mobileMenuButton: ComfyButton
|
||||
queueButton: ComfyQueueButton
|
||||
element: HTMLElement
|
||||
menuPositionSetting: ReturnType<ComfySettingsDialog['addSetting']>
|
||||
position: MenuPosition
|
||||
@@ -136,6 +137,7 @@ export class ComfyAppMenu {
|
||||
},
|
||||
classList: 'comfyui-button comfyui-menu-button'
|
||||
})
|
||||
this.queueButton = new ComfyQueueButton(app)
|
||||
|
||||
this.element = $el('nav.comfyui-menu.lg', { style: { display: 'none' } }, [
|
||||
this.logo,
|
||||
@@ -147,7 +149,7 @@ export class ComfyAppMenu {
|
||||
collapseOnMobile(this.viewGroup).element,
|
||||
|
||||
getInteruptButton('lt-lg-show').element,
|
||||
new ComfyQueueButton(app).element,
|
||||
this.queueButton.element,
|
||||
showOnMobile(this.mobileMenuButton).element
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user