Skip to content

Commit

Permalink
Fix Zoom Position in Right Panel (#559)
Browse files Browse the repository at this point in the history
Co-authored-by: slprime <history-21@yandex.ru>
Co-authored-by: Ethryan <3237986+Ethryan@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 3, 2024
1 parent ec749ec commit 9288fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/codechicken/nei/ItemZoom.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void resize(GuiContainer gui) {
this.availableAreaWidth = (int) (availableAreaWidth / screenScale);

if (availableAreaWidth / screenScale >= mouse.x) {
this.xPosition = gui.width * screenScale - availableAreaWidth;
this.xPosition += gui.width * screenScale - availableAreaWidth;
}

try {
Expand Down

0 comments on commit 9288fc4

Please sign in to comment.