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: colorpicker move on input #656

Merged
merged 15 commits into from
Mar 12, 2024

Conversation

leewyatt
Copy link
Contributor

@leewyatt leewyatt commented Oct 3, 2023

PR Summary:
This PR addresses the unexpected movement of the ColorPicker area when it gains focus and certain mouse or keyboard inputs are made.

Issue

Fixes #654

Progress

leewyatt and others added 11 commits January 26, 2022 14:59
Signed-off-by: leewyatt <leewyatt7788@gmail.com>
Signed-off-by: leewyatt <leewyatt7788@gmail.com>
Signed-off-by: leewyatt <leewyatt7788@gmail.com>
Signed-off-by: leewyatt <leewyatt7788@gmail.com>
Signed-off-by: leewyatt <leewyatt7788@gmail.com>
…uts: The area was previously shifting due to ScrollPane default behaviors.
@abhinayagarwal abhinayagarwal changed the title Fix colorpicker move on input fix: colorpicker move on input Oct 24, 2023
Copy link
Collaborator

@jperedadnr jperedadnr left a comment

Choose a reason for hiding this comment

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

Looks good, and fixes the issue.
Please just move the two event filters right before the // paint combobox... comment, including a new empty line or a new comment after the liveUpdateListener lines.

@leewyatt
Copy link
Contributor Author

@jperedadnr Thank you for reviewing my pull request and for your valuable feedback. I've updated the code according to your suggestions. Please let me know if there are any further adjustments needed.

…rol/paintpicker/colorpicker/ColorPicker.java

Co-authored-by: José Pereda <jperedadnr@gmail.com>
@leewyatt
Copy link
Contributor Author

Thank you for the suggestion! I've committed the changes as per your review.

jperedadnr
jperedadnr previously approved these changes Mar 12, 2024
Copy link
Collaborator

@jperedadnr jperedadnr left a comment

Choose a reason for hiding this comment

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

looks good!

@jperedadnr
Copy link
Collaborator

Oh, one more little change is required before we can merge this PR, we need to update the copyright year of the modified file.

Please change:

 * Copyright (c) 2022, Gluon and/or its affiliates.

into:

 * Copyright (c) 2022, 2024, Gluon and/or its affiliates.

@leewyatt
Copy link
Contributor Author

ok, changed~

@jperedadnr jperedadnr merged commit a07ff34 into gluonhq:master Mar 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ColorPicker Area Moves Unexpectedly with Mouse Scroll and Keyboard Inputs
4 participants