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) { if(Mouse.getEventButton() == -1) {
int scroll = Mouse.getEventDWheel(); int scroll = Mouse.getEventDWheel();
if(scroll < 0) { if(scroll > 0) {
if(currentPage > 0) if(currentPage > 0)
currentPage--; currentPage--;
updateButtons(); updateButtons();
} else if(scroll > 0) { } else if(scroll < 0) {
if(currentPage < getPageCount()) if(currentPage < getPageCount())
currentPage++; currentPage++;
updateButtons(); updateButtons();