diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 15:29:46 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 15:29:46 +0100 |
commit | aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651 (patch) | |
tree | 595063263f824a8e1022cea9b951352191c6282e /src/gui/slider.cpp | |
parent | 3efa949fca06f9a1cad04ff7da8107096ed55044 (diff) | |
download | mana-client-aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651.tar.gz mana-client-aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651.tar.bz2 mana-client-aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651.tar.xz mana-client-aa6f1c46e78864d9900cdf8afb8bacb8c4ce4651.zip |
Removed all the static initializations of mAlpha
They happened before the configuration was initialized, so that didn't
make any sense. It never showed up as a problem since the value is
constantly set in the draw methods anyway.
Diffstat (limited to 'src/gui/slider.cpp')
-rw-r--r-- | src/gui/slider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/slider.cpp b/src/gui/slider.cpp index cc381c32..f5b159f1 100644 --- a/src/gui/slider.cpp +++ b/src/gui/slider.cpp @@ -29,7 +29,7 @@ Image *Slider::hStart, *Slider::hMid, *Slider::hEnd, *Slider::hGrip; Image *Slider::vStart, *Slider::vMid, *Slider::vEnd, *Slider::vGrip; -float Slider::mAlpha = config.getValue("guialpha", 0.8); +float Slider::mAlpha = 1.0; int Slider::mInstances = 0; Slider::Slider(double scaleEnd): |