1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-18 13:55:11 -05:00
polybar/tests/unit_tests
patrick96 e89da58940
fix(builder): Properly apply alpha for fg and bg
It was not quite clear how try_apply_alpha should behave if the given
color was not ALPHA_ONLY. The implementation just returned 'this'.
However, the build relied on it returning the given color.

This broke all bg and fg settings in the entire bar.

To clear this up, we switch this around take the alpha channel of 'this'
and also return 'this' if it isn't ALPHA_ONLY.

Fixes #2255
2020-12-01 14:53:41 +01:00
..
components fix(config_parser): Gracefully handle BOM (#2166) 2020-08-15 12:02:23 +02:00
drawtypes test(iconset): Add failing fuzzy match test 2020-03-19 20:52:41 +01:00
utils fix(builder): Properly apply alpha for fg and bg 2020-12-01 14:53:41 +01:00