Skip to content

Commit

Permalink
Fix compatibility with RGBME
Browse files Browse the repository at this point in the history
  • Loading branch information
ty-porter committed Mar 8, 2024
1 parent 8d13e94 commit d3e6289
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion screens/news.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit d3e6289

Please sign in to comment.