diff --git a/game/src/cg_gallery.rpy b/game/src/cg_gallery.rpy index 0ee6b28..aec52ca 100644 --- a/game/src/cg_gallery.rpy +++ b/game/src/cg_gallery.rpy @@ -273,13 +273,20 @@ screen view_image(item, _origin, zoom = zoom_arr.index(1.0), flag='a'): #Reuse quick buttons, Ren'Py handles touch input lazy, it doesn't have #double finger pinch zoom, it translates taps as mouse events - have to use #buttons - if (ALLOW_ZOOM) and renpy.variant("small"): - hbox: - style_prefix "quick" - xalign 0.5 - yalign 0.975 + hbox: + style_prefix "quick" + xalign 0.5 + yalign 0.975 + if (ALLOW_ZOOM) and renpy.variant("small"): use quick_buttons("gui/button/uioptionbuttons/template_idle.png", [ [ "+", zoom_a_f ], - [ "-", zoom_b_f ] + [ "-", zoom_b_f ], + [ "Return", zoom_b_f ] ] ) + else: + use quick_buttons("gui/button/uioptionbuttons/template_idle.png", + [ + [ "Return", _origin ] + ] ) +