diff options
author | robfram <robfram@gmail.com> | 2018-01-09 21:49:35 +0100 |
---|---|---|
committer | robfram <robfram@gmail.com> | 2018-01-09 22:34:00 +0100 |
commit | 19915d674c44ec3a554e688d967fc6feedcb5708 (patch) | |
tree | de82a25a08fa2c9c7cc70c224cc1231460470480 /core/color.cpp | |
parent | c037f6339f1fc9636b4fc9056ae0b2e2b673024d (diff) | |
download | redot-engine-19915d674c44ec3a554e688d967fc6feedcb5708.tar.gz |
Fix bad color to HTML conversion. Alpha channel was added befor RGB.
Diffstat (limited to 'core/color.cpp')
-rw-r--r-- | core/color.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/color.cpp b/core/color.cpp index 7278b5c4ee..36afe5e004 100644 --- a/core/color.cpp +++ b/core/color.cpp @@ -396,7 +396,7 @@ String Color::to_html(bool p_alpha) const { txt += _to_hex(g); txt += _to_hex(b); if (p_alpha) - txt = _to_hex(a) + txt; + txt += _to_hex(a); return txt; } |