From 0de34a00000ca245605b1414f20e884164b0a49e Mon Sep 17 00:00:00 2001 From: nutbuster Date: Mon, 19 Jul 2021 18:55:37 +1000 Subject: [PATCH] Increase rows to 4 --- game/src/cg_gallery.rpy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/src/cg_gallery.rpy b/game/src/cg_gallery.rpy index 6608fc5..a7e4670 100644 --- a/game/src/cg_gallery.rpy +++ b/game/src/cg_gallery.rpy @@ -1,7 +1,7 @@ init python: # CONST PARAMS - GALLERY_COLS = 3 + GALLERY_COLS = 4 PREFERRED_WIDTH = 432 #px (1920 * 0.225) PREFERRED_HEIGHT = 243 #px (1080 * 0.225) PREFERRED_ASPECT_RATIO = 16.0/9.0 # 1.7777.. @@ -190,7 +190,7 @@ screen cg_gallery(flag, __yoffset = 0, origin = 'CG'): # enough or the actual position python: item_counter += 1 - yoffset = item_counter / 3 * PREFERRED_HEIGHT * 1.15 + yoffset = item_counter / GALLERY_COLS * PREFERRED_HEIGHT * 1.15 yoffset = int( yoffset + (PREFERRED_HEIGHT * 1.15)) use flag_button(item, yoffset, origin)