mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-06 21:50:05 +00:00
Rename AppMenu to Actionbar (#1099)
* Rename AppMenu to Actionbar * nit * nit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user