Skip to content

Conversation

rgthree
Copy link
Contributor

@rgthree rgthree commented May 3, 2024

Extends the core Comfy.SnapToGrid behavior that exists for nodes to apply to LiteGraph's LGraphGroup with the same behavior (ghost on move, snap on move-end and resizing).

Also, pulls out redundant rounding code into util function.

Extends the core Comfy.SnapToGrid behavior for nodes to apply to LiteGraph's LGraphGroup with the same behavior. Also, pulls out redundant rounding code into util function.
@rgthree rgthree requested a review from comfyanonymous as a code owner May 3, 2024 01:18
rgthree added a commit to rgthree/ComfyUI-Custom-Scripts that referenced this pull request May 3, 2024
When comfyanonymous/ComfyUI#3393 is applied, this would be required for always snapping groups as well.
@comfyanonymous comfyanonymous merged commit f6a2039 into comfyanonymous:master May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants