From f22d699baf30905eec6e951440d1e6db4104c9cf Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sat, 13 Apr 2024 16:14:38 -0400 Subject: [PATCH] flipped app pane scroll direction --- graphics/elements/appmultipane.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/elements/appmultipane.lua b/graphics/elements/appmultipane.lua index 0795e43..fc56441 100644 --- a/graphics/elements/appmultipane.lua +++ b/graphics/elements/appmultipane.lua @@ -71,9 +71,9 @@ local function multipane(args) end if args.scroll_nav then - if event.type == events.MOUSE_CLICK.SCROLL_UP then + if event.type == events.MOUSE_CLICK.SCROLL_DOWN then e.set_value(e.value + 1) - elseif event.type == events.MOUSE_CLICK.SCROLL_DOWN then + elseif event.type == events.MOUSE_CLICK.SCROLL_UP then e.set_value(e.value - 1) end end