diff options
Diffstat (limited to 'src/gui/widgets/listbox.cpp')
-rw-r--r-- | src/gui/widgets/listbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp index 87a9f43cc..8953fc5e2 100644 --- a/src/gui/widgets/listbox.cpp +++ b/src/gui/widgets/listbox.cpp @@ -66,6 +66,7 @@ #include "gui/widgets/listbox.h" #include "client.h" +#include "settings.h" #include "input/inputaction.h" @@ -145,7 +146,7 @@ ListBox::~ListBox() void ListBox::updateAlpha() { - const float alpha = std::max(client->getGuiAlpha(), + const float alpha = std::max(settings.guiAlpha, theme->getMinimumOpacity()); if (mAlpha != alpha) |