colordialog: don't clamp values

This commit is contained in:
itsmattkc
2020-04-16 15:26:05 +10:00
parent 8656b79319
commit cc8699c0bc
+1 -3
View File
@@ -201,10 +201,8 @@ void ColorValuesTab::SetColor(const Color &c)
FloatSlider *ColorValuesTab::CreateColorSlider()
{
FloatSlider* fs = new FloatSlider();
fs->SetMinimum(0);
fs->SetDragMultiplier(0.01);
fs->SetMaximum(1);
fs->SetDecimalPlaces(3);
fs->SetDecimalPlaces(5);
connect(fs, &FloatSlider::ValueChanged, this, &ColorValuesTab::SliderChanged);
return fs;
}