From 4a9bf226023837fbe01bf84ab9ebb97158a8853b Mon Sep 17 00:00:00 2001 From: Nicolas Cedilnik Date: Tue, 21 Jul 2020 18:26:18 +0200 Subject: [PATCH] Fixes #6 --- hh_creator/resource/default.ini | 1 + hh_creator/scene.py | 1 + 2 files changed, 2 insertions(+) diff --git a/hh_creator/resource/default.ini b/hh_creator/resource/default.ini index ef98644..fe2444a 100644 --- a/hh_creator/resource/default.ini +++ b/hh_creator/resource/default.ini @@ -42,6 +42,7 @@ global_font_face = Lato global_font_size = 30 global_font_weight = 100 global_font_color = white +total_pot_font_size = 20 player_bet_size = 25 player_bet_color = white diff --git a/hh_creator/scene.py b/hh_creator/scene.py index 2c53b98..253b969 100644 --- a/hh_creator/scene.py +++ b/hh_creator/scene.py @@ -46,6 +46,7 @@ def _create_text_items(self): prefix=config.config["text"].get("total_pot_prefix") + " ", content_is_number=True, hide_if_empty=True, + point_size=config.config["text"].getint("total_pot_font_size"), ) self.pot_odds = TextItem( prefix=config.config["text"].get("odds_prefix") + " ",