diff options
Diffstat (limited to 'src/gui/widgets/slider.cpp')
-rw-r--r-- | src/gui/widgets/slider.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp index c660648d8..444480ae1 100644 --- a/src/gui/widgets/slider.cpp +++ b/src/gui/widgets/slider.cpp @@ -67,6 +67,7 @@ #include "client.h" #include "graphicsvertexes.h" +#include "settings.h" #include "events/keyevent.h" @@ -172,7 +173,7 @@ void Slider::init() void Slider::updateAlpha() { - const float alpha = std::max(client->getGuiAlpha(), + const float alpha = std::max(settings.guiAlpha, theme->getMinimumOpacity()); if (alpha != mAlpha) |