EssentialGG / Vigilance

Configuration Utility using Elementa
GNU Lesser General Public License v3.0
54 stars 13 forks source link

Colour pickers flip blue and alpha values #50

Closed Deftu closed 2 years ago

Deftu commented 2 years ago

When manually inputting hex colour, the last 4 characters are flipped (switching the blue and alpha values with one another)

Sychic commented 2 years ago

Are you using ColorPicker or ColorComponent

Deftu commented 2 years ago

Are you using ColorPicker or ColorComponent

I'm using Vigilance as the end user, just configuring one of my mods.

Deftu commented 2 years ago

Can't quite explain this, but after checking again it seems that if I input #1f1f1fff it's replaced with #1f1fff1f. 1f1fff1f is replaced with #1fff1f1f, etc etc

Sychic commented 2 years ago

Fixed with Vigilance 198+.

Sychic commented 2 years ago

For future reference, this was caused by an issue where the user would input their color as rgba but it would be parsed as argb.