mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-27 10:14:06 +00:00
remove Comfy.Minimap.RefreshDelay
This commit is contained in:
@@ -344,7 +344,7 @@ export function useMinimap() {
|
||||
if (structureChanged || positionChanged || connectionChanged) {
|
||||
updateMinimap()
|
||||
}
|
||||
}, settingStore.get('Comfy.Minimap.RefreshDelay'))
|
||||
}, 500)
|
||||
|
||||
const { pause: pauseChangeDetection, resume: resumeChangeDetection } =
|
||||
useRafFn(
|
||||
@@ -458,7 +458,7 @@ export function useMinimap() {
|
||||
updateFlags.value.nodes = true
|
||||
updateFlags.value.connections = true
|
||||
updateMinimap()
|
||||
}, settingStore.get('Comfy.Minimap.RefreshDelay'))
|
||||
}, 500)
|
||||
|
||||
const setupEventListeners = () => {
|
||||
const g = graph.value
|
||||
|
||||
@@ -819,16 +819,6 @@ export const CORE_SETTINGS: SettingParams[] = [
|
||||
defaultValue: true,
|
||||
versionAdded: '1.24.1'
|
||||
},
|
||||
{
|
||||
id: 'Comfy.Minimap.RefreshDelay',
|
||||
category: ['LiteGraph', 'Canvas', 'MinimapRefreshDelay'],
|
||||
name: 'Minimap refresh delay (ms)',
|
||||
defaultValue: 256,
|
||||
type: 'number',
|
||||
tooltip:
|
||||
'The smaller the value, the smoother it will be, but it will consume more performance. After modification, you need to refresh the page for it to take effect.',
|
||||
versionAdded: '1.24.1'
|
||||
},
|
||||
{
|
||||
id: 'Comfy.Workflow.AutoSaveDelay',
|
||||
name: 'Auto Save Delay (ms)',
|
||||
|
||||
@@ -458,7 +458,6 @@ const zSettings = z.object({
|
||||
'Comfy.InstalledVersion': z.string().nullable(),
|
||||
'Comfy.Node.AllowImageSizeDraw': z.boolean(),
|
||||
'Comfy.Minimap.Visible': z.boolean(),
|
||||
'Comfy.Minimap.RefreshDelay': z.number(),
|
||||
'Comfy-Desktop.AutoUpdate': z.boolean(),
|
||||
'Comfy-Desktop.SendStatistics': z.boolean(),
|
||||
'Comfy-Desktop.WindowStyle': z.string(),
|
||||
|
||||
Reference in New Issue
Block a user