Leah font fix (#12)

Reviewed-on: #12
Co-authored-by: leah <leah@hintonclan.org>
Co-committed-by: leah <leah@hintonclan.org>
This commit was merged in pull request #12.
This commit is contained in:
2026-06-14 22:26:45 -06:00
committed by bionickatana
parent 96fa6d3c62
commit 87ed3f16fe
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class Producer
@image = Gosu.render(@box_size - (2 * BORDER), @box_size - (2 * BORDER)) {
# Render the item
Gosu.draw_rect(0, 0, @box_size - (2 * BORDER), @box_size - (2 * BORDER), Gosu::Color::RED, 0)
Gosu::Image.from_text("#{@number}", 20).draw(5, 5, 1)
Gosu::Image.from_text("#{@number}", 20, font: FONT_PATH).draw(5, 5, 1)
}
@tooltip = DialougeBox.new(@x, @y, WIDTH, HEIGHT, "Produces #{@rate} number per second")