flipped app pane scroll direction

This commit is contained in:
Mikayla Fischler 2024-04-13 16:14:38 -04:00
parent 23b31e0049
commit f22d699baf

View File

@ -71,9 +71,9 @@ local function multipane(args)
end end
if args.scroll_nav then 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) 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) e.set_value(e.value - 1)
end end
end end