Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend core snapToGrid to snap Groups as well #3393

Merged
merged 1 commit into from
May 27, 2024

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.
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.

None yet

2 participants