From 100661889ddb79377600323de08f9bde24c2f444 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sun, 9 Aug 2020 07:36:48 -0700 Subject: [PATCH] Allowing RGB instead of just ARGB --- IDE/src/Settings.bf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IDE/src/Settings.bf b/IDE/src/Settings.bf index f2d935c9..b26031a8 100644 --- a/IDE/src/Settings.bf +++ b/IDE/src/Settings.bf @@ -293,6 +293,9 @@ namespace IDE void GetColor(String name, ref Color color) { sd.Get(name, ref *(int32*)&color); + + if ((color & 0xFF000000) == 0) + color |= 0xFF000000; } GetColor("Text", ref mText);