[BUG] Color sliders cannot equal 1.0 if other color slider is already that value
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 353
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 1
Description
**Disclaimer:** I'm not sure if this issue is actually caused by Armory2D or [Armory UI](https://github.com/armory3d/armory/tree/main/Sources/armory/ui), so feel free to move this issue to that repository if need be.
How to reproduce the issue:
1. Open an Armory Canvas in the Armory2D Editor.
2. Select an element that supports color.
3. Enter `1.0` for one of the R.G.B color sliders.
4. Then attempt to set any of the other color slides to equal `1.0` too, either by click-dragging the slider or by manually inputting the value.
The expected buggy behavior is that any other colors cannot equal `1.0` if there is at least 1 other color slider value already set to that value.
The alpha slider works fine though.

Special thanks to @ knowledgenude for confirming the issue too.
Issue possibly related to: https://github.com/armory3d/zui/issues/159
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in the Armory2D Editor using an Armory Canvas and a color-capable element. Start by comparing the Armory UI source under Sources/armory/ui with the related zui issue; done means each RGB slider can independently reach 1.0 while the alpha slider continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100