polybar-dwm/tests/unit_tests/utils
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
..
actions.cpp actions: Move parsing to utility file 2020-11-26 20:53:53 +01:00
color.cpp fix(builder): Properly apply alpha for fg and bg 2020-12-01 14:53:41 +01:00
command.cpp add command unit tests 2020-05-08 23:24:29 +02:00
file.cpp add command unit tests 2020-05-08 23:24:29 +02:00
math.cpp fix(alsa): Remove upper bound to get_volume (#2184) 2020-09-20 14:26:17 +02:00
memory.cpp
process.cpp controller: Detach shell commands from polybar 2020-11-29 03:53:59 +01:00
scope.cpp
string.cpp Display correct(binary) unit prefixes in memory module (#2211) 2020-11-27 23:30:09 +01:00