mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-24 21:39:51 +00:00
Add degree symbol in string representation of HSV colors.
This commit is contained in:
parent
a2eab0553c
commit
fd7e95035b
@ -220,7 +220,7 @@ std::string Color::toFormalString(int imgtype, bool long_format) const
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
result << "HSV "
|
result << "HSV "
|
||||||
<< m_value.hsv.h << " "
|
<< m_value.hsv.h << "\xB0 "
|
||||||
<< m_value.hsv.s << " "
|
<< m_value.hsv.s << " "
|
||||||
<< m_value.hsv.v;
|
<< m_value.hsv.v;
|
||||||
|
|
||||||
@ -281,7 +281,7 @@ std::string Color::toFormalString(int imgtype, bool long_format) const
|
|||||||
result << "Gry-" << getGray();
|
result << "Gry-" << getGray();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
result << m_value.hsv.h << ","
|
result << m_value.hsv.h << "\xB0"
|
||||||
<< m_value.hsv.s << ","
|
<< m_value.hsv.s << ","
|
||||||
<< m_value.hsv.v;
|
<< m_value.hsv.v;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user