From d3e628949df24fa1eb6ed9cc1c881155846fd357 Mon Sep 17 00:00:00 2001 From: Tyler Porter Date: Fri, 8 Mar 2024 00:43:06 -0500 Subject: [PATCH] Fix compatibility with RGBME --- screens/news.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/screens/news.py b/screens/news.py index adbbeb7e..cbb29267 100644 --- a/screens/news.py +++ b/screens/news.py @@ -83,7 +83,8 @@ def __render_weather_text(self, text, keyname): color = self.data.config.scoreboard_colors.color("offday.{}".format(keyname)) text_x = center_text_position(text, coords["x"], font["size"]["width"]) - graphics.DrawText(self.canvas, font["font"], text_x, coords["y"], color, text) + color_tuple = (color["r"], color["g"], color["b"]) + graphics.DrawText(self.canvas, font["font"], text_x, coords["y"], color_tuple, text) @property def weather(self):