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

Fix start offset inputs #1092

Merged
merged 2 commits into from
Feb 7, 2024
Merged

Fix start offset inputs #1092

merged 2 commits into from
Feb 7, 2024

Conversation

rikimaru0345
Copy link
Contributor

cache custom offset input in temporary value and only update startOffset when it is a valid number

image

this will also keep the input box edittable, so you are not "trapped" in "NaN" like this issue describes: #1083

fixes #1083
fixes #1074

@rikimaru0345 rikimaru0345 requested review from weeco and jvorcak February 7, 2024 17:06
@rikimaru0345 rikimaru0345 merged commit a66a3a2 into master Feb 7, 2024
6 checks passed
@rikimaru0345 rikimaru0345 deleted the fix-start-offset-inputs branch February 7, 2024 18:05
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.

Custom start offset input validation aggressively sets state to NaN Default value for start offset
2 participants