mirror of
https://github.com/LIV2/amiberry.git
synced 2025-12-06 06:32:45 +00:00
bugfix: Fixed slider background color after guisan updates
This commit is contained in:
parent
522f2bd71e
commit
9094f9fe67
4
external/libguisan/src/widgets/slider.cpp
vendored
4
external/libguisan/src/widgets/slider.cpp
vendored
@ -135,10 +135,8 @@ namespace gcn
|
||||
faceColor.a = alpha;
|
||||
|
||||
auto backCol = getBackgroundColor();
|
||||
if (isEnabled())
|
||||
if (!isEnabled())
|
||||
backCol = backCol - 0x303030;
|
||||
else
|
||||
backCol = faceColor - 0x101010;
|
||||
|
||||
graphics->setColor(backCol);
|
||||
graphics->fillRectangle(gcn::Rectangle(0, 0, getWidth(), getHeight()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user