From e3a33b784a60f022d397e8638dc1b1826b0b3f10 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Tue, 28 Nov 2023 11:57:25 -0600 Subject: [PATCH] Use fill: true instead of width: 1.0 for event container- supports displaying 2 to 3 events before things visually break --- lib/pages/games.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/games.rb b/lib/pages/games.rb index 61f135b..4557623 100644 --- a/lib/pages/games.rb +++ b/lib/pages/games.rb @@ -491,7 +491,7 @@ class W3DHub @game_events_container.clear do events.flatten.each do |event| - stack(width: 1.0, height: 1.0, margin_left: 8, margin_right: 8, border_thickness: 1, border_color: lighten(Gosu::Color.new(game.color))) do + stack(fill: true, height: 1.0, margin_left: 8, margin_right: 8, border_thickness: 1, border_color: lighten(Gosu::Color.new(game.color))) do background 0xaa_222222 title event.title, width: 1.0, text_align: :center