mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-17 02:55:04 +00:00
Add Horizontal Scroll to Recipe GUI (#924)
This commit is contained in:
1 parent
2f4f72a2d6
commit
ccbf94790a
9 files changed
+109
-39
No files matched your search
@@ -78,7 +78,7 @@ public class IntegerField extends TextField implements IUpdatableWidget {
|
||||
@Override
|
||||
public boolean onMouseWheel(int i, int mx, int my) {
|
||||
if (!contains(mx, my)) return false;
|
||||
setText(Integer.toString(getInteger() + i));
|
||||
setText(Integer.toString(getInteger() - i));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user