mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Fix scroll direction
Apparently, I forgot to cherry-pick the commit where I'd inverted it
This commit is contained in:
parent
6f598278d6
commit
57eba8e6ec
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user