EssentialGG/Vigilance

Colour pickers flip blue and alpha values

Closed this issue · 5 comments

Deftu commented

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

Are you using ColorPicker or ColorComponent

Deftu commented

Are you using ColorPicker or ColorComponent

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

Deftu commented

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

Fixed with Vigilance 198+.

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.