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

Widget Behaviour when step is multiple of 8 #24

Open
fernicar opened this issue Jul 31, 2024 · 0 comments
Open

Widget Behaviour when step is multiple of 8 #24

fernicar opened this issue Jul 31, 2024 · 0 comments

Comments

@fernicar
Copy link

return {"required": {"int": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 8})}}

"width": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 8}),

"height": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 8}),

Widget Behavior for Steps that are Multiples of 8:
When the minimum value is set to 1, each step will not behave as expected and will always result in an odd number. Please consider setting the minimum value to 0 or 8. Thank you.

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

No branches or pull requests

1 participant