Remove duplicated Reset View button (#3865)

* Remove duplicated Reset View button

* Disable flaky test
This commit is contained in:
Chenlei Hu 2024-06-26 01:23:55 -04:00 committed by GitHub
parent 69d710e40f
commit e99d97a9d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,7 @@ jobs:
with: with:
repository: "huchenlei/ComfyUI_frontend" repository: "huchenlei/ComfyUI_frontend"
path: "ComfyUI_frontend" path: "ComfyUI_frontend"
ref: "23a4ee83144d9bf22e7218b9c78c71f8544c8b27" ref: "577aea9dfb680a14b3ae4fa626a85098c3207030"
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: lts/* node-version: lts/*

View File

@ -603,7 +603,6 @@ export class ComfyUI {
onclick: () => app.refreshComboInNodes() onclick: () => app.refreshComboInNodes()
}), }),
$el("button", {id: "comfy-clipspace-button", textContent: "Clipspace", onclick: () => app.openClipspace()}), $el("button", {id: "comfy-clipspace-button", textContent: "Clipspace", onclick: () => app.openClipspace()}),
$el("button", {id: "comfy-reset-view-button", textContent: "Reset View", onclick: () => app.resetView()}),
$el("button", { $el("button", {
id: "comfy-clear-button", textContent: "Clear", onclick: () => { id: "comfy-clear-button", textContent: "Clear", onclick: () => {
if (!confirmClear.value || confirm("Clear workflow?")) { if (!confirmClear.value || confirm("Clear workflow?")) {