From 4f71f3410c216b1af22c3058a420fa3676a3baf7 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Tue, 5 Dec 2023 00:34:11 +0900 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E5=AD=97=E6=95=B0=E3=81=BE=E3=81=A1?= =?UTF-8?q?=E3=81=8C=E3=81=B8=E3=81=A6=E3=81=9F=EF=BC=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index 2f42ee4..c70ca45 100644 --- a/main.py +++ b/main.py @@ -80,18 +80,18 @@ class Main: screen.blit ( nizika_font.render ( (answer - if CommonModule.len_by_full (answer) <= 26 - else CommonModule.mid_by_full (answer, 0, 26)), + if CommonModule.len_by_full (answer) <= 16 + else CommonModule.mid_by_full (answer, 0, 16)), True, (192, 0, 0)), (100, 150)) - if CommonModule.len_by_full (answer) > 26: + if CommonModule.len_by_full (answer) > 16: screen.blit ( nizika_font.render ( - (CommonModule.mid_by_full (answer, 26, 26) - if CommonModule.len_by_full (answer) <= 52 + (CommonModule.mid_by_full (answer, 16, 16) + if CommonModule.len_by_full (answer) <= 32 else (CommonModule.mid_by_full ( - answer, 26, 24.5) + answer, 16, 14.5) + '...')), True, (192, 0, 0)),