mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Update nodes auto layout spacing for snap to grid size
Update workflowSettingsSlice.ts Change the default settings for auto layout nodeSpacing and layerSpacing to 30 instead of 32. This will make the x position of auto layed nodes land on the snap to grid positions. Because the node width (320) + 30 = 350 which is divisible by the snap to grid size of 25.
This commit is contained in:
committed by
psychedelicious
parent
c3f6389291
commit
6430d830c1
@@ -33,8 +33,8 @@ const initialState: WorkflowSettingsState = {
|
||||
_version: 1,
|
||||
shouldShowMinimapPanel: true,
|
||||
layeringStrategy: 'network-simplex',
|
||||
nodeSpacing: 32,
|
||||
layerSpacing: 32,
|
||||
nodeSpacing: 30,
|
||||
layerSpacing: 30,
|
||||
layoutDirection: 'LR',
|
||||
nodeAlignment: 'UL',
|
||||
shouldValidateGraph: true,
|
||||
|
||||
Reference in New Issue
Block a user