35aca5b368
We need to use positions relative to the position of the bar for indexing into the background image slice, but the code used absolute ones. This worked fine as long as absolute positions are the same as relative positions (this is the case for a bar located at (0,0), so if bottom = false). But for bottom bars (where the bar position is not (0,0)) this was wrong which caused the tray background to be black (out of bounds for the background slice). |
||
---|---|---|
.. | ||
adapters | ||
cairo | ||
components | ||
drawtypes | ||
events | ||
modules | ||
utils | ||
x11 | ||
CMakeLists.txt | ||
common.hpp | ||
debug.hpp | ||
errors.hpp | ||
settings.hpp.cmake | ||
version.hpp |