summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-08-15 13:02:09 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-08-15 13:02:16 +0200
commit442c8a53d368b654d386b7d657e5e3a16d90a2d6 (patch)
tree39bbc7c1b55620615c9a35b1805cfbb01a09fb1d /src/gui/widgets
parentbe1585b7827dfeeb0ff67bb55bb03316fc65d4d7 (diff)
downloadmana-master.tar.gz
mana-master.tar.bz2
mana-master.tar.xz
mana-master.zip
Golden Delicious: Fixed shop list item background colorHEADmaster
In fact in M+ no per-item background appears to be rendered at all, but I kept the darker gray color for now. Also fixed the blending of the warning color with the highlight color.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/shoplistbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp
index d745d74d..afcb97b4 100644
--- a/src/gui/widgets/shoplistbox.cpp
+++ b/src/gui/widgets/shoplistbox.cpp
@@ -103,7 +103,8 @@ void ShopListBox::draw(gcn::Graphics *gcnGraphics)
gcn::Color blend = warningColor;
blend.r = (blend.r + highlightColor.r) / 2;
blend.g = (blend.g + highlightColor.g) / 2;
- blend.b = (blend.g + highlightColor.b) / 2;
+ blend.b = (blend.b + highlightColor.b) / 2;
+ blend.a = alpha;
graphics->setColor(blend);
}
}