From b9843015cfab3a124c961b022bf76cf5b3d7ac0e Mon Sep 17 00:00:00 2001 From: rootdarkarchon Date: Wed, 18 Oct 2023 02:22:05 +0200 Subject: [PATCH] fix broken font in header --- MareSynchronos/UI/CompactUI.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/MareSynchronos/UI/CompactUI.cs b/MareSynchronos/UI/CompactUI.cs index 87ba4e2..4a27a18 100644 --- a/MareSynchronos/UI/CompactUI.cs +++ b/MareSynchronos/UI/CompactUI.cs @@ -102,7 +102,6 @@ public class CompactUi : WindowMediatorSubscriberBase if (!_apiController.IsCurrentVersion) { var ver = _apiController.CurrentClientVersion; - if (_uiShared.UidFontBuilt) ImGui.PushFont(_uiShared.UidFont); var unsupported = "UNSUPPORTED VERSION"; var uidTextSize = ImGui.CalcTextSize(unsupported); ImGui.SetCursorPosX((ImGui.GetWindowContentRegionMax().X + ImGui.GetWindowContentRegionMin().X) / 2 - uidTextSize.X / 2);