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) {
|
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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user