Skip to content

Commit c833089

Browse files
NopoTheGamerlineargraph
authored andcommitted
Fix scrolling of categories
1 parent b6cccfa commit c833089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/io/github/notenoughupdates/moulconfig/gui/MoulConfigEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ public boolean mouseInput(int mouseX, int mouseY, MouseEvent mouseEvent) {
846846
if (dWheel > 0) {
847847
dWheel = 1;
848848
}
849-
if (mouseX < catsInnerLeft) {
849+
if (mouseX < optsInnerLeft) {
850850
int newTarget = categoryScroll.getTarget() - dWheel * 30;
851851
if (newTarget < 0) {
852852
newTarget = 0;

0 commit comments

Comments
 (0)