aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorrobfram2018-01-09 21:49:35 +0100
committerrobfram2018-01-09 22:34:00 +0100
commit19915d674c44ec3a554e688d967fc6feedcb5708 (patch)
treede82a25a08fa2c9c7cc70c224cc1231460470480 /core
parentc037f6339f1fc9636b4fc9056ae0b2e2b673024d (diff)
downloadgodot-19915d674c44ec3a554e688d967fc6feedcb5708.tar.gz
godot-19915d674c44ec3a554e688d967fc6feedcb5708.tar.zst
godot-19915d674c44ec3a554e688d967fc6feedcb5708.zip
Diffstat (limited to 'core')
-rw-r--r--core/color.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/color.cpp b/core/color.cpp
index 7278b5c4e..36afe5e00 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;
}