Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
help: Use color_t::from_hex_string() instead of from_argb_bytes()
Colours obtained from help markup until now have been generated using from_argb_bytes(), even though the caller ensures they are 7 characters long and thus in #RRGGBB hex notation. When porting the help text render code to pango_text, this resulted in text with colour set by markup being rendered invisible with an alpha value of 0. Unless we decide at a later point to support alpha values in help markup, we want alpha to always be 255.
- Loading branch information