Actually accommodates for weird flags. For real this time.

This commit is contained in:
GManon 2022-11-28 19:12:54 -03:00
parent 57555453b8
commit 9252776dad
2 changed files with 5 additions and 3 deletions

View File

@ -981,13 +981,14 @@ screen preferences():
draggable True
xsize 320
ysize 250
if len(languages)>5:
if len(languages)>4:
scrollbars "vertical"
for lang in languages:
fixed:
xsize 400
ysize 60
hbox:
spacing 10
textbutton lang["name"]:
activate_sound "audio/ui/uiRollover.wav"
action If(lang["value"] in persistent.seenWarning or lang["value"] == None,

View File

@ -95,7 +95,7 @@ screen lang_sel:
for i in range(maxItems):
fixed:
xsize 400
ysize 250
ysize 300
vbox:
if i<len(languages):
text languages[i]["name"] at top
@ -111,4 +111,5 @@ screen lang_sel:
at renpysdumb # Scales the imagebutton down. No, you can't just specify the zoom here. It has to be a defined transform.
else:
# Renpy seethes if a vpgrid doesn't have the exact maximum amount of items for some reason.
add Null(0,0)
add Null(0,0)
at truecenter