From 863aa680709ea16e2f0e798e73600ae34c0e6113 Mon Sep 17 00:00:00 2001 From: CaveManon Date: Thu, 1 Jul 2021 01:44:56 -0500 Subject: [PATCH] fixes #13 --- game/screens.rpy | 5 +++++ game/script.rpy | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/game/screens.rpy b/game/screens.rpy index 68f661d..a041182 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -836,6 +836,11 @@ screen preferences(): style_prefix "check" label _("Naughty Stuff") textbutton _("Enable Lewd Images") action ToggleVariable("persistent.lewd", True, False) + + vbox: + style_prefix "check" + label _("Requires Restart") + textbutton _("Enable Forward-Scroll Movement") action ToggleVariable("persistent.scroll", True, False) vbox: diff --git a/game/script.rpy b/game/script.rpy index 41c55d3..1eb9165 100644 --- a/game/script.rpy +++ b/game/script.rpy @@ -23,9 +23,8 @@ init python: picked = random.randint(0,length - 1) fileName = files[picked] renpy.show(fileName, at_list=[randPosition]) - #for issue #13 not finalized - #if persistent.scroll == True: - # config.keymap['dismiss'].append('mousedown_5') + if persistent.scroll == True: + config.keymap['dismiss'].append('mousedown_4') transform randPosition: alpha 0.0