Fix scroll direction

Apparently, I forgot to cherry-pick the commit where I'd inverted it
This commit is contained in:
abel1502 2025-06-09 23:45:41 +03:00
parent 6f598278d6
commit 57eba8e6ec
No known key found for this signature in database
GPG Key ID: 076926596A536338

View File

@ -215,11 +215,11 @@ public class GUIScreenTemplateFolder extends GuiScreen {
if(Mouse.getEventButton() == -1) {
int scroll = Mouse.getEventDWheel();
if(scroll < 0) {
if(scroll > 0) {
if(currentPage > 0)
currentPage--;
updateButtons();
} else if(scroll > 0) {
} else if(scroll < 0) {
if(currentPage < getPageCount())
currentPage++;
updateButtons();