mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 17:40:01 +00:00
Fix ColorWheel bottom slider
This commit is contained in:
parent
e8c1975f63
commit
b8aa45023a
@ -204,7 +204,7 @@ void ColorWheel::onPaintMainArea(ui::Graphics* g, const gfx::Rect& rc)
|
|||||||
void ColorWheel::onPaintBottomBar(ui::Graphics* g, const gfx::Rect& rc)
|
void ColorWheel::onPaintBottomBar(ui::Graphics* g, const gfx::Rect& rc)
|
||||||
{
|
{
|
||||||
double hue = m_color.getHsvHue();
|
double hue = m_color.getHsvHue();
|
||||||
double sat = m_color.getHsvValue();
|
double sat = m_color.getHsvSaturation();
|
||||||
|
|
||||||
for (int x=0; x<rc.w; ++x) {
|
for (int x=0; x<rc.w; ++x) {
|
||||||
gfx::Color color = color_utils::color_for_ui(
|
gfx::Color color = color_utils::color_for_ui(
|
||||||
|
Loading…
Reference in New Issue
Block a user