mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 17:57:21 +01:00
fix broken font in header
This commit is contained in:
parent
3a7e3e7177
commit
b9843015cf
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue