Recreate mouse input of replay overlay when the screen size changes
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user