mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Merge pull request #2201 from abel1502/abel-hotfix-2025-06
Hotfix my big PR
This commit is contained in:
commit
cb8c95278c
@ -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