Fix GuiReplayOverlay not resizing upon Gui Scale change (did it for you, Johni)

This commit is contained in:
CrushedPixel
2015-08-21 17:06:14 +02:00
parent 959a4c3ce1
commit d31128fc11

View File

@@ -398,7 +398,7 @@ public class GuiReplayOverlay extends Gui {
}
private void checkResize() {
if (displayWidth != mc.displayWidth || displayHeight != mc.displayHeight) {
if (!screenDimensions.equals(MouseUtils.getScaledDimensions())) {
GuiReplayOverlay other = new GuiReplayOverlay();
other.timelineReal.zoom = this.timelineReal.zoom;
other.timelineReal.timeStart = this.timelineReal.timeStart;