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

Fixed problem with inputting numbers in sliders #6859

Conversation

jjjoness
Copy link
Contributor

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com
Editor_61AplwJLP8

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
@jjjoness jjjoness requested review from AMZN-daimini and a team January 12, 2022 18:17
@cgalvan cgalvan removed request for a team January 12, 2022 18:37
updateSpinBox();
updateSlider();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this logic was for protecting that we don't double trigger updates, if the user inputs the value from either the slider or the input field, so it doesn't propagate twice. Is that still working as expected?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I've tested this in most of the slider combos and it responds correctly.

…arInconsistent-o3de#5234

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
…arInconsistent-o3de#5234

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
…arInconsistent-o3de#5234

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
@jjjoness jjjoness merged commit 0b9dc78 into o3de:development Jan 17, 2022
@jjjoness jjjoness deleted the BeforeAndAfterInputtingValueInNumberBarInconsistent-#5234 branch January 17, 2022 17:58
santorac pushed a commit to aws-lumberyard-dev/o3de that referenced this pull request Jan 20, 2022
* Fixed problem with inputting numbers in sliders

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Changes from PR

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>

* Missed removing pragma optimize

Signed-off-by: John Jones-Steele <82226755+jjjoness@users.noreply.github.com>
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
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

4 participants