From 09ca1006587cbb2219da93adebaf610b649f1122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 16 Jan 2018 10:22:22 +0100 Subject: [PATCH] Revert "Fix bad color to HTML conversion. Alpha channel was added before RGB." --- core/color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/color.cpp b/core/color.cpp index b708f15d690..a0568d26ed4 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 = _to_hex(a) + txt; return txt; }