From 9479859eddefa1465b0c28e4eb71ce95ffac59f3 Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Fri, 17 Nov 2023 04:07:53 +0100 Subject: [PATCH] Simplify menu position --- game/scripts/interface/brewing.rpy | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/game/scripts/interface/brewing.rpy b/game/scripts/interface/brewing.rpy index d18a40a6..39f568fe 100644 --- a/game/scripts/interface/brewing.rpy +++ b/game/scripts/interface/brewing.rpy @@ -76,16 +76,16 @@ screen brewing(xx, yy): use close_button fixed: + pos (xx, yy) if settings.get("animations"): at gui_animation - use brewing_menu(xx, yy) - use brewing_menuitem(xx, yy) + use brewing_menu + use brewing_menuitem -screen brewing_menu(xx, yy): +screen brewing_menu(): window: style "empty" style_prefix gui.theme('achievements') - pos (xx, yy) xysize (207, 454) use invisible_button() @@ -140,13 +140,13 @@ screen brewing_menu(xx, yy): textbutton "Show: [current_filter]" action Return("filter") textbutton "Sort by: [current_sorting]" action Return("sort") -screen brewing_menuitem(xx, yy): +screen brewing_menuitem(): default turned_on = False default drop_ingredients = False window: style "empty" - pos (xx+217, yy-53) + pos (217, -53) xysize (560, 507) use invisible_button()