mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-09 02:36:28 +01:00
Add Return button
This commit is contained in:
parent
17d669bd83
commit
66c0dc8d80
1 changed files with 13 additions and 6 deletions
|
@ -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
|
#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
|
#double finger pinch zoom, it translates taps as mouse events - have to use
|
||||||
#buttons
|
#buttons
|
||||||
if (ALLOW_ZOOM) and renpy.variant("small"):
|
|
||||||
hbox:
|
hbox:
|
||||||
style_prefix "quick"
|
style_prefix "quick"
|
||||||
xalign 0.5
|
xalign 0.5
|
||||||
yalign 0.975
|
yalign 0.975
|
||||||
|
if (ALLOW_ZOOM) and renpy.variant("small"):
|
||||||
use quick_buttons("gui/button/uioptionbuttons/template_idle.png",
|
use quick_buttons("gui/button/uioptionbuttons/template_idle.png",
|
||||||
[
|
[
|
||||||
[ "+", zoom_a_f ],
|
[ "+", 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 ]
|
||||||
|
] )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue