Rename AppMenu to Actionbar (#1099)

* Rename AppMenu to Actionbar

* nit

* nit
This commit is contained in:
Chenlei Hu
2024-10-04 06:49:06 -04:00
committed by GitHub
parent 416fd0aed6
commit e20126a254
6 changed files with 17 additions and 17 deletions

View File

@@ -1,11 +1,11 @@
<template>
<Panel
v-show="visible"
class="app-menu w-fit"
class="actionbar w-fit"
:style="style"
:class="{ 'is-dragging': isDragging }"
>
<div class="app-menu-content flex items-center" ref="panelRef">
<div class="actionbar-content flex items-center" ref="panelRef">
<span class="drag-handle cursor-move mr-2 p-0!" ref="dragHandleRef">
</span>
<div class="queue-button-group flex">
@@ -216,13 +216,13 @@ useEventListener(window, 'resize', adjustMenuPosition)
</script>
<style scoped>
.app-menu {
.actionbar {
pointer-events: all;
position: fixed;
z-index: 1000;
}
.app-menu.is-dragging {
.actionbar.is-dragging {
user-select: none;
}

View File

@@ -6,7 +6,7 @@
<GlobalToast />
<UnloadWindowConfirmDialog />
<BrowserTabTitle />
<AppMenu />
<Actionbar />
</template>
<script setup lang="ts">
@@ -41,7 +41,7 @@ import ModelLibrarySidebarTab from '@/components/sidebar/tabs/ModelLibrarySideba
import GlobalToast from '@/components/toast/GlobalToast.vue'
import UnloadWindowConfirmDialog from '@/components/dialog/UnloadWindowConfirmDialog.vue'
import BrowserTabTitle from '@/components/BrowserTabTitle.vue'
import AppMenu from '@/components/appMenu/AppMenu.vue'
import Actionbar from '@/components/actionbar/ComfyActionbar.vue'
import WorkflowsSidebarTab from '@/components/sidebar/tabs/WorkflowsSidebarTab.vue'
import TopMenubar from '@/components/topbar/TopMenubar.vue'
import { setupAutoQueueHandler } from '@/services/autoQueueService'