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

Add nullcheck to snap-to-grid's grid size default value #858

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

christian-byrne
Copy link
Collaborator

Ensure the Snap to Grid setting does not set LiteGraph.CANVAS_GRID_SIZE to 0 when defaultValue is implicitly false.

Closes #856

@huchenlei huchenlei merged commit f9fd0f5 into main Sep 17, 2024
9 checks passed
@huchenlei huchenlei deleted the snap-to-grid-nullcheck branch September 17, 2024 02:11
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.

[Bug]: Shift+Drag node resets node position
2 participants