From 2ae5a95c6fbed678cf1071ae7a311c1286bde8f8 Mon Sep 17 00:00:00 2001 From: CrushedPixel Date: Tue, 30 Jun 2015 15:00:06 +0200 Subject: [PATCH] RenderSettings: The Render Method Dropdown Listener calls the Y Resolution Input's moveCursorBy() Method to recalculate the aspect ratio if neccessary, resolving https://trello.com/c/unn8VGbf/ --- .../java/eu/crushedpixel/replaymod/gui/GuiRenderSettings.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/eu/crushedpixel/replaymod/gui/GuiRenderSettings.java b/src/main/java/eu/crushedpixel/replaymod/gui/GuiRenderSettings.java index fe451fe8..042e9220 100644 --- a/src/main/java/eu/crushedpixel/replaymod/gui/GuiRenderSettings.java +++ b/src/main/java/eu/crushedpixel/replaymod/gui/GuiRenderSettings.java @@ -460,6 +460,8 @@ public class GuiRenderSettings extends GuiScreen { yRes.setCursorPositionEnd(); yRes.setSelectionPos(yRes.getCursorPosition()); + + yRes.moveCursorBy(0); //This causes the Aspect Ratio to be recalculated based on the Y Resolution } } }