mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 21:34:15 +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)
|
if (!_apiController.IsCurrentVersion)
|
||||||
{
|
{
|
||||||
var ver = _apiController.CurrentClientVersion;
|
var ver = _apiController.CurrentClientVersion;
|
||||||
if (_uiShared.UidFontBuilt) ImGui.PushFont(_uiShared.UidFont);
|
|
||||||
var unsupported = "UNSUPPORTED VERSION";
|
var unsupported = "UNSUPPORTED VERSION";
|
||||||
var uidTextSize = ImGui.CalcTextSize(unsupported);
|
var uidTextSize = ImGui.CalcTextSize(unsupported);
|
||||||
ImGui.SetCursorPosX((ImGui.GetWindowContentRegionMax().X + ImGui.GetWindowContentRegionMin().X) / 2 - uidTextSize.X / 2);
|
ImGui.SetCursorPosX((ImGui.GetWindowContentRegionMax().X + ImGui.GetWindowContentRegionMin().X) / 2 - uidTextSize.X / 2);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue