Parcourir la source

fix MsgBox of main_screen

cuu il y a 6 ans
Parent
commit
3276d84ff8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      sys.py/UI/main_screen.py

+ 1 - 1
sys.py/UI/main_screen.py

@@ -67,7 +67,7 @@ class MessageBox(Label):
             if row_total_width+space  >= max_width:
                 x = 0  # Reset the x.
                 y += word_height  # Start on new row.
-                row_total_width = 0
+                row_total_width = word_width
                 
                 lines += word_height