mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-25 15:18:23 +00:00
Show Alpha slider like a grayscale slider
This commit is contained in:
parent
b1661e910d
commit
d97b14d18e
@ -68,6 +68,7 @@ namespace {
|
||||
color = color_utils::color_for_ui(app::Color::fromHsv(m_color.getHue(), m_color.getSaturation(), 100 * x / w));
|
||||
break;
|
||||
case ColorSliders::Gray:
|
||||
case ColorSliders::Alpha:
|
||||
color = color_utils::color_for_ui(app::Color::fromGray(255 * x / w));
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user