Fix Hue box not updating when set all is used
This commit is contained in:
parent
313bc8b616
commit
52a9120257
2 changed files with 3 additions and 3 deletions
4
dependencies/ColorWheel/ColorWheel.cpp
vendored
4
dependencies/ColorWheel/ColorWheel.cpp
vendored
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue