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 a colorpicker bug (fixed inconsistent raw values) #1108

Merged

Conversation

Variable-ind
Copy link
Contributor

@Variable-ind Variable-ind commented Sep 15, 2024

I noticed that the raw values slightly change when you select color through color picker, draw, then pick the color.
This pr fixes this.

Color.bug.mp4

Variable-ind and others added 2 commits September 15, 2024 10:18
We should probably avoid using "I" in comments, as it's not clear who is speaking, and `##` should only be used for documentation string and not normal comments.
Copy link
Member

@OverloadedOrama OverloadedOrama left a comment

Choose a reason for hiding this comment

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

Thanks!

@OverloadedOrama OverloadedOrama merged commit 51f6816 into Orama-Interactive:master Sep 17, 2024
1 of 4 checks passed
@Variable-ind Variable-ind deleted the color-picker-fix branch September 18, 2024 08:57
OverloadedOrama added a commit that referenced this pull request Nov 22, 2024
Variable-ind added a commit to Variable-ind/Pixelorama that referenced this pull request Nov 26, 2024
OverloadedOrama pushed a commit that referenced this pull request Nov 29, 2024
* add a way to see indices

* fix some things

* Fixed more than one swatch selected if there is the same color available in an earlier swatch

* fixed wrong index drawn when moved to an smpty swatch

* make active_button public

* fixed wrong color getting stored in   array (similar fix to #1108.)

* If the color selected in the palette is the same then it should take prioity.

* formatting

* hide 0 index
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.

2 participants