aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/config/ConfigDataValues.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/ConfigDataValues.hpp')
-rw-r--r--src/config/ConfigDataValues.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/ConfigDataValues.hpp b/src/config/ConfigDataValues.hpp
index 27965556..c7f7fff8 100644
--- a/src/config/ConfigDataValues.hpp
+++ b/src/config/ConfigDataValues.hpp
@@ -17,7 +17,7 @@ interface ICustomConfigValueData {
class CGradientValueData : public ICustomConfigValueData {
public:
CGradientValueData(CColor col) {
- m_vColors.push_back(col * (1.f / 255.f));
+ m_vColors.push_back(col);
};
virtual ~CGradientValueData(){};
@@ -27,7 +27,7 @@ class CGradientValueData : public ICustomConfigValueData {
void reset(CColor col) {
m_vColors.clear();
- m_vColors.emplace_back(col * (1.f / 255.f));
+ m_vColors.emplace_back(col);
m_fAngle = 0;
}