mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Include RGB decimal values when we pick HSV colors (fix #1013)
This commit is contained in:
parent
0993069e0b
commit
6661c0a32a
@ -235,6 +235,11 @@ std::string Color::toHumanReadableString(PixelFormat pixelFormat, HumanReadableS
|
|||||||
|
|
||||||
if (pixelFormat == IMAGE_INDEXED)
|
if (pixelFormat == IMAGE_INDEXED)
|
||||||
result << " Index " << color_utils::color_for_image(*this, pixelFormat);
|
result << " Index " << color_utils::color_for_image(*this, pixelFormat);
|
||||||
|
|
||||||
|
result << " (RGB "
|
||||||
|
<< getRed() << " "
|
||||||
|
<< getGreen() << " "
|
||||||
|
<< getBlue() << ")";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user