mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 14:42:44 +00:00
Fix HSV Alpha slider in Palette Editor when only one entry is selected
This commit is contained in:
parent
3dcffc828d
commit
420b38e426
@ -549,6 +549,7 @@ void PaletteEntryEditor::setAbsolutePaletteEntryChannel(ColorSliders::Channel ch
|
|||||||
hsv.hue(color.getHue());
|
hsv.hue(color.getHue());
|
||||||
hsv.saturation(double(color.getSaturation()) / 100.0);
|
hsv.saturation(double(color.getSaturation()) / 100.0);
|
||||||
hsv.value(double(color.getValue()) / 100.0);
|
hsv.value(double(color.getValue()) / 100.0);
|
||||||
|
a = color.getAlpha();
|
||||||
}
|
}
|
||||||
// Modify one channel a set of entries
|
// Modify one channel a set of entries
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user