Skip to content

feat: use step value in litegraph to enable number type inputs for numbers #3926

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

henrikvilhelmberglund
Copy link

@henrikvilhelmberglund henrikvilhelmberglund commented May 18, 2025

This PR is connected with Comfy-Org/litegraph.js#1058.

This PR allows for number input tags for number values (making it possible to press up/down to increment/decrement)
Pressing up will increase the value by the step value instead of defaulting to 1 even though the step wasn't 1.
Pressing shift+up/shift+down will increase the value by 10x the step value which can be useful for easily making bigger changes.

How it works in practice:
numberinputPR

┆Issue is synchronized with this Notion page by Unito

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.

1 participant