mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 00:22:55 +00:00
Switched scrolling direction
This commit is contained in:
1 parent
e092e7bcdc
commit
a4821c0e0e
1 file changed
+1
-1
@@ -140,7 +140,7 @@ public class GuiQuestLog extends GuiNPCInterface implements ITopButtonListener,I
|
||||
return;
|
||||
}
|
||||
|
||||
this.destSideButtonScroll = Math.max(0, this.destSideButtonScroll + Math.signum(this.mouseWheel) * 22);
|
||||
this.destSideButtonScroll = Math.max(0, this.destSideButtonScroll - Math.signum(this.mouseWheel) * 22);
|
||||
this.sideButtonScroll = this.sideButtonScroll * (1.0F - 0.2F) + (this.destSideButtonScroll * 0.2F);
|
||||
|
||||
for(Map.Entry<Integer,GuiMenuSideButton> entry : this.sideButtons.entrySet()){
|
||||
|
||||
Reference in new issue
Block a user