mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-13 17:04:03 +00:00
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:
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user