mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-11 02:20:08 +00:00
Change tooltip location to bottom for sidebar action buttons (#1479)
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
@click="modelStore.loadModelFolders"
|
||||
severity="secondary"
|
||||
text
|
||||
v-tooltip="$t('refresh')"
|
||||
v-tooltip.bottom="$t('refresh')"
|
||||
/>
|
||||
<Button
|
||||
icon="pi pi-cloud-download"
|
||||
@click="modelStore.loadModels"
|
||||
severity="secondary"
|
||||
text
|
||||
v-tooltip="$t('loadAllFolders')"
|
||||
v-tooltip.bottom="$t('loadAllFolders')"
|
||||
/>
|
||||
</template>
|
||||
<template #header>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
text
|
||||
severity="secondary"
|
||||
@click="nodeBookmarkTreeExplorerRef?.addNewBookmarkFolder()"
|
||||
v-tooltip="$t('newFolder')"
|
||||
v-tooltip.bottom="$t('newFolder')"
|
||||
/>
|
||||
<Button
|
||||
class="sort-button"
|
||||
@@ -18,7 +18,7 @@
|
||||
text
|
||||
severity="secondary"
|
||||
@click="alphabeticalSort = !alphabeticalSort"
|
||||
v-tooltip="$t('sideToolbar.nodeLibraryTab.sortOrder')"
|
||||
v-tooltip.bottom="$t('sideToolbar.nodeLibraryTab.sortOrder')"
|
||||
/>
|
||||
</template>
|
||||
<template #header>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
severity="secondary"
|
||||
@click="toggleImageFit"
|
||||
class="toggle-expanded-button"
|
||||
v-tooltip="$t(`sideToolbar.queueTab.${imageFit}ImagePreview`)"
|
||||
v-tooltip.bottom="$t(`sideToolbar.queueTab.${imageFit}ImagePreview`)"
|
||||
/>
|
||||
<Button
|
||||
v-if="isInFolderView"
|
||||
@@ -20,7 +20,7 @@
|
||||
severity="secondary"
|
||||
@click="exitFolderView"
|
||||
class="back-button"
|
||||
v-tooltip="$t('sideToolbar.queueTab.backToAllTasks')"
|
||||
v-tooltip.bottom="$t('sideToolbar.queueTab.backToAllTasks')"
|
||||
/>
|
||||
<template v-else>
|
||||
<Button
|
||||
|
||||
@@ -7,21 +7,21 @@
|
||||
<Button
|
||||
class="browse-templates-button"
|
||||
icon="pi pi-th-large"
|
||||
v-tooltip="$t('sideToolbar.browseTemplates')"
|
||||
v-tooltip.bottom="$t('sideToolbar.browseTemplates')"
|
||||
text
|
||||
@click="() => commandStore.execute('Comfy.BrowseTemplates')"
|
||||
/>
|
||||
<Button
|
||||
class="open-workflow-button"
|
||||
icon="pi pi-folder-open"
|
||||
v-tooltip="$t('sideToolbar.openWorkflow')"
|
||||
v-tooltip.bottom="$t('sideToolbar.openWorkflow')"
|
||||
text
|
||||
@click="() => commandStore.execute('Comfy.OpenWorkflow')"
|
||||
/>
|
||||
<Button
|
||||
class="new-blank-workflow-button"
|
||||
icon="pi pi-plus"
|
||||
v-tooltip="$t('sideToolbar.newBlankWorkflow')"
|
||||
v-tooltip.bottom="$t('sideToolbar.newBlankWorkflow')"
|
||||
@click="() => commandStore.execute('Comfy.NewBlankWorkflow')"
|
||||
text
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user