Fix Zoom Position in Right Panel (#559)

Co-authored-by: slprime <history-21@yandex.ru>
Co-authored-by: Ethryan <3237986+Ethryan@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2024-12-03 06:52:51 +01:00
1 parent ec749ecc8e
commit 9288fc4575
1 file changed
+1 -1
+1 -1
View File
@@ -112,7 +112,7 @@ public class ItemZoom extends Widget implements IContainerInputHandler {
this.availableAreaWidth = (int) (availableAreaWidth / screenScale);
if (availableAreaWidth / screenScale >= mouse.x) {
this.xPosition = gui.width * screenScale - availableAreaWidth;
this.xPosition += gui.width * screenScale - availableAreaWidth;
}
try {