Fix Hue box not updating when set all is used

This commit is contained in:
silas 2021-02-27 11:30:31 -06:00 committed by Adam Honse
parent 313bc8b616
commit 52a9120257
2 changed files with 3 additions and 3 deletions

View file

@ -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);