Fix issue with scroll wheel, fixes #128
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
- Added support for Storage Drawers void upgrade
|
||||
- Added support for Deep Storage Unit API again
|
||||
|
||||
**Bugfixes**
|
||||
- Fixed crash when using scroll wheel
|
||||
|
||||
### 0.7.15
|
||||
**Bugfixes**
|
||||
- Fixed not being able to scroll with the scroll wheel using MouseTweaks
|
||||
|
||||
@@ -127,7 +127,7 @@ public abstract class GuiBase extends GuiContainer {
|
||||
|
||||
int d = Mouse.getEventDWheel();
|
||||
|
||||
if (d != 0) {
|
||||
if (scrollbar != null && d != 0) {
|
||||
scrollbar.wheel(d);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user