From 967f591fbd25a64750be308e1c08654f7e5b8680 Mon Sep 17 00:00:00 2001 From: johni0702 Date: Sun, 31 May 2015 17:46:28 +0200 Subject: [PATCH] Recreate mouse input of replay overlay when the screen size changes --- .../crushedpixel/replaymod/gui/overlay/GuiReplayOverlay.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/eu/crushedpixel/replaymod/gui/overlay/GuiReplayOverlay.java b/src/main/java/eu/crushedpixel/replaymod/gui/overlay/GuiReplayOverlay.java index df058ad4..22fc530e 100755 --- a/src/main/java/eu/crushedpixel/replaymod/gui/overlay/GuiReplayOverlay.java +++ b/src/main/java/eu/crushedpixel/replaymod/gui/overlay/GuiReplayOverlay.java @@ -133,6 +133,10 @@ public class GuiReplayOverlay extends Gui { this.unregister(); other.register(); ReplayMod.overlay = other; + + if (mc.currentScreen instanceof GuiMouseInput) { + mc.displayGuiScreen(new GuiMouseInput(other)); + } } }