Skip to content

Commit

Permalink
remove /120F (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
Teawhat authored Jun 3, 2024
1 parent 1291659 commit 0e04385
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void handleMouseInput(int mouseX, int mouseY) throws IOException
int scroll = Mouse.getEventDWheel();
if (scroll != 0)
{
this.scrollDistance += (float)((-1 * scroll / 120.0F) * this.slotHeight / 2);
this.scrollDistance += (float)((-1 * scroll) * this.slotHeight / 2);
}
}

Expand Down

0 comments on commit 0e04385

Please sign in to comment.