Browse Source

文字数まちがへてた.

btc-sounds
みてるぞ 9 months ago
parent
commit
4f71f3410c
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      main.py

+ 6
- 6
main.py View File

@@ -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)),


Loading…
Cancel
Save