Fix GuiReplayOverlay not resizing upon Gui Scale change (did it for you, Johni)
This commit is contained in:
@@ -398,7 +398,7 @@ public class GuiReplayOverlay extends Gui {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void checkResize() {
|
private void checkResize() {
|
||||||
if (displayWidth != mc.displayWidth || displayHeight != mc.displayHeight) {
|
if (!screenDimensions.equals(MouseUtils.getScaledDimensions())) {
|
||||||
GuiReplayOverlay other = new GuiReplayOverlay();
|
GuiReplayOverlay other = new GuiReplayOverlay();
|
||||||
other.timelineReal.zoom = this.timelineReal.zoom;
|
other.timelineReal.zoom = this.timelineReal.zoom;
|
||||||
other.timelineReal.timeStart = this.timelineReal.timeStart;
|
other.timelineReal.timeStart = this.timelineReal.timeStart;
|
||||||
|
|||||||
Reference in New Issue
Block a user