mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-01 03:04:11 +00:00
Restore top/bottom menu location setting (#1123)
* Rename floating to top * Adjust teleport target * Fix dropdown direction for bottom menubar * Fix z-index
This commit is contained in:
@@ -376,10 +376,11 @@ export const CORE_SETTINGS: SettingParams[] = [
|
||||
name: 'Use new menu and workflow management.',
|
||||
experimental: true,
|
||||
type: 'combo',
|
||||
options: ['Disabled', 'Floating'],
|
||||
options: ['Disabled', 'Top', 'Bottom'],
|
||||
migrateDeprecatedValue: (value: string) => {
|
||||
if (['Top', 'Bottom'].includes(value)) {
|
||||
return 'Floating'
|
||||
// Floating is now supported by dragging the docked actionbar off.
|
||||
if (value === 'Floating') {
|
||||
return 'Top'
|
||||
}
|
||||
return value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user