mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
GVariant: Tweak stringification of Color, Boolean and Invalid variants.
This commit is contained in:
parent
6f90f41516
commit
3674bb9429
Notes:
sideshowbarker
2024-07-19 14:44:20 +09:00
Author: https://github.com/awesomekling
Commit: 3674bb9429
2 changed files with 3 additions and 3 deletions
|
@ -35,5 +35,5 @@ Color::Color(NamedColor named)
|
|||
|
||||
String Color::to_string() const
|
||||
{
|
||||
return String::format("rgba(%d, %d, %d, %d)", red(), green(), blue(), alpha());
|
||||
return String::format("#%b%b%b%b", red(), green(), blue(), alpha());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue