mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-22 07:44:11 +00:00
[Electron] Add basic welcome screen (#1491)
* WIP * Add LogTerminal * Modify server startup view * Add installView * Add basic welcome screen and dev server setup * nit * nit * nit * nit * nit
This commit is contained in:
@@ -1784,6 +1784,8 @@ export class ComfyApp {
|
||||
*/
|
||||
async setup(canvasEl: HTMLCanvasElement) {
|
||||
this.canvasEl = canvasEl
|
||||
// Show menu container for GraphView.
|
||||
this.ui.menuContainer.style.display = 'block'
|
||||
await this.#setUser()
|
||||
|
||||
this.resizeCanvas()
|
||||
|
||||
@@ -636,6 +636,8 @@ export class ComfyUI {
|
||||
}
|
||||
})
|
||||
]) as HTMLDivElement
|
||||
// Hide by default on construction so it does not interfere with other views.
|
||||
this.menuContainer.style.display = 'none'
|
||||
|
||||
this.restoreMenuPosition = dragElement(this.menuContainer, this.settings)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user