Fix Hue box not updating when set all is used

merge-requests/378/head
silas 2 years ago committed by Adam Honse
parent 313bc8b616
commit 52a9120257

@ -485,12 +485,12 @@ void ColorWheel::hueChanged(const int &hue)
int v = current.value();
current.setHsv(hue, s, v);
drawSquareImage(hue);
if(!isVisible())
{
return;
}
drawSquareImage(hue);
repaint();
emit colorChanged(current);

@ -12,7 +12,7 @@ public:
virtual QSize sizeHint () const;
virtual QSize minimumSizeHint () const;
QColor color();
signals:
void colorChanged(const QColor color);

Loading…
Cancel
Save