From d1aaeb157e508cdce9824e5e22154d60c9ffed25 Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Thu, 16 Nov 2023 01:54:22 +0100 Subject: [PATCH] Separate xalign and yalign (cherry picked from commit a36c0ba2221c3257bf7c58c81db53fe443fd9600) --- game/scripts/gui/say.rpy | 4 ++-- game/scripts/interface/letter.rpy | 2 +- game/scripts/utility/common_labels.rpy | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/game/scripts/gui/say.rpy b/game/scripts/gui/say.rpy index e8625130..83f2405c 100644 --- a/game/scripts/gui/say.rpy +++ b/game/scripts/gui/say.rpy @@ -153,7 +153,7 @@ style quick_alt_button_text: # # https://www.renpy.org/doc/html/screen_special.html#choice -screen choice(items, menu_align=(.5, .6)): +screen choice(items, menu_xalign=.5, menu_yalign=.6): tag menu modal True zorder 30 @@ -169,7 +169,7 @@ screen choice(items, menu_align=(.5, .6)): window at fade_show_hide(0.15): style "empty" - align menu_align + align (menu_xalign, menu_yalign) vbox: spacing 0 diff --git a/game/scripts/interface/letter.rpy b/game/scripts/interface/letter.rpy index d39c2e91..bf7b7d9b 100644 --- a/game/scripts/interface/letter.rpy +++ b/game/scripts/interface/letter.rpy @@ -210,7 +210,7 @@ label letter(text, lbl): show screen letter(text) with d3 - menu (menu_align=(.5, .9)): + menu (menu_xalign=.5, menu_yalign=.9): "-Done reading-": pass diff --git a/game/scripts/utility/common_labels.rpy b/game/scripts/utility/common_labels.rpy index 7baa2463..4c65c4e7 100644 --- a/game/scripts/utility/common_labels.rpy +++ b/game/scripts/utility/common_labels.rpy @@ -87,7 +87,7 @@ label unlock_clothing(text="", item="interface/icons/box_blue_1.webp"): show screen blktone with d3 - menu (menu_align=(.5, .75)): + menu (menu_xalign=.5, menu_yalign=.75): "[text]" "-Done Reading-": pass