Fix ColorWheel bottom slider

This commit is contained in:
David Capello 2017-05-30 11:55:56 -03:00
parent e8c1975f63
commit b8aa45023a

View File

@ -204,7 +204,7 @@ void ColorWheel::onPaintMainArea(ui::Graphics* g, const gfx::Rect& rc)
void ColorWheel::onPaintBottomBar(ui::Graphics* g, const gfx::Rect& rc)
{
double hue = m_color.getHsvHue();
double sat = m_color.getHsvValue();
double sat = m_color.getHsvSaturation();
for (int x=0; x<rc.w; ++x) {
gfx::Color color = color_utils::color_for_ui(