mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
Show queue front icon when shift is pressed (#1157)
* Move shiftDown state to workspaceStateStore * Queue front state
This commit is contained in:
@@ -7,11 +7,14 @@ import { useSidebarTabStore } from './workspace/sidebarTabStore'
|
||||
|
||||
interface WorkspaceState {
|
||||
spinner: boolean
|
||||
// Whether the shift key is down globally
|
||||
shiftDown: boolean
|
||||
}
|
||||
|
||||
export const useWorkspaceStore = defineStore('workspace', {
|
||||
state: (): WorkspaceState => ({
|
||||
spinner: false
|
||||
spinner: false,
|
||||
shiftDown: false
|
||||
}),
|
||||
getters: {
|
||||
toast(): ToastManager {
|
||||
|
||||
Reference in New Issue
Block a user