diff --git a/browser_tests/tests/dialog.spec.ts b/browser_tests/tests/dialog.spec.ts index 93af2ea673..611c0c3c71 100644 --- a/browser_tests/tests/dialog.spec.ts +++ b/browser_tests/tests/dialog.spec.ts @@ -333,7 +333,7 @@ test.describe('Settings', () => { await editKeybindingButton.click() // Set new keybinding - const input = comfyPage.page.getByPlaceholder('Press keys for new binding') + const input = comfyPage.page.getByPlaceholder('Enter your keybind') await input.press('Alt+n') const requestPromise = comfyPage.page.waitForRequest( @@ -345,7 +345,7 @@ test.describe('Settings', () => { // Save keybinding const saveButton = comfyPage.page - .getByLabel('New Blank Workflow') + .getByLabel('Modify keybinding') .getByText('Save') await saveButton.click() diff --git a/src/components/bottomPanel/BottomPanel.vue b/src/components/bottomPanel/BottomPanel.vue index 08f23c5098..37567ab7e5 100644 --- a/src/components/bottomPanel/BottomPanel.vue +++ b/src/components/bottomPanel/BottomPanel.vue @@ -25,15 +25,13 @@ class: { 'p-3 rounded-lg': true, 'pointer-events-none': - bottomPanelStore.bottomPanelTabs.length === 1 - }, - style: { - color: 'var(--fg-color)', - backgroundColor: + bottomPanelStore.bottomPanelTabs.length === 1, + 'bg-secondary-background text-secondary-foreground': + x.context.active && + bottomPanelStore.bottomPanelTabs.length > 1, + 'text-muted-foreground': !x.context.active || - bottomPanelStore.bottomPanelTabs.length === 1 - ? '' - : 'var(--bg-color)' + bottomPanelStore.bottomPanelTabs.length <= 1 } }) " @@ -127,4 +125,8 @@ const closeBottomPanel = () => { :deep(.p-tablist-active-bar) { display: none; } + +:deep(.p-tab-active) { + color: inherit; +} diff --git a/src/components/dialog/content/setting/KeybindingPanel.vue b/src/components/dialog/content/setting/KeybindingPanel.vue index ffecfd81e1..db48f4d502 100644 --- a/src/components/dialog/content/setting/KeybindingPanel.vue +++ b/src/components/dialog/content/setting/KeybindingPanel.vue @@ -59,7 +59,15 @@ :pt="{ bodyCell: 'p-1 min-h-8' }" > @@ -93,44 +101,6 @@ - -
- - - {{ $t('g.keybindingAlreadyExists') }} - - -
- -