1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00
polybar/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
..
common refactor(test): Remove old testing harness 2018-07-31 13:20:27 -07:00
unit_tests fix(builder): Properly apply alpha for fg and bg 2020-12-01 14:53:41 +01:00
CMakeLists.txt controller: Detach shell commands from polybar 2020-11-29 03:53:59 +01:00
CMakeLists.txt.in fix(test): Gtest compilation failure 2020-01-22 00:33:07 +01:00