Cleanup: Correct comments about uiBut a1 and a2

This commit is contained in:
Hans Goudey
2024-03-01 13:21:31 -05:00
parent f4e670af2c
commit 7053aef448

View File

@@ -197,13 +197,11 @@ struct uiBut {
* For #uiBut.type:
* - UI_BTYPE_LABEL: Use `(a1 == 1.0f)` to use a2 as a blending factor (imaginative!).
* - UI_BTYPE_SCROLL: Use as scroll size.
* - UI_BTYPE_SEPR_LINE: 1.0 = vertical
*/
float a1 = 0;
/**
* For #uiBut.type:
* - UI_BTYPE_HSVCIRCLE: Use to store the luminosity.
* - UI_BTYPE_LABEL: If `(a1 == 1.0f)` use a2 as a blending factor.
*/
float a2 = 0;