From e99d97a9d943c3601ccdf411608bffb771db5bf1 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Wed, 26 Jun 2024 01:23:55 -0400 Subject: [PATCH] Remove duplicated Reset View button (#3865) * Remove duplicated Reset View button * Disable flaky test --- .github/workflows/test-browser.yml | 2 +- web/scripts/ui.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test-browser.yml b/.github/workflows/test-browser.yml index 049b1cde..323c96cf 100644 --- a/.github/workflows/test-browser.yml +++ b/.github/workflows/test-browser.yml @@ -24,7 +24,7 @@ jobs: with: repository: "huchenlei/ComfyUI_frontend" path: "ComfyUI_frontend" - ref: "23a4ee83144d9bf22e7218b9c78c71f8544c8b27" + ref: "577aea9dfb680a14b3ae4fa626a85098c3207030" - uses: actions/setup-node@v3 with: node-version: lts/* diff --git a/web/scripts/ui.js b/web/scripts/ui.js index 87b4887e..bb094d8b 100644 --- a/web/scripts/ui.js +++ b/web/scripts/ui.js @@ -603,7 +603,6 @@ export class ComfyUI { onclick: () => app.refreshComboInNodes() }), $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", { id: "comfy-clear-button", textContent: "Clear", onclick: () => { if (!confirmClear.value || confirm("Clear workflow?")) {