Merge pull request '#19: Fixed massive font size on the threshhold warning.' (#24) from show-own-threshold into 1.11.6

Reviewed-on: #24
This commit was merged in pull request #24.
This commit is contained in:
2025-09-11 01:52:31 +02:00

View File

@@ -426,6 +426,7 @@ public class CompactUi : WindowMediatorSubscriberBase
var uidTextSize = ImGui.CalcTextSize(uidText); var uidTextSize = ImGui.CalcTextSize(uidText);
ImGui.SetCursorPosX((ImGui.GetWindowContentRegionMax().X - ImGui.GetWindowContentRegionMin().X) / 2 - (uidTextSize.X / 2)); ImGui.SetCursorPosX((ImGui.GetWindowContentRegionMax().X - ImGui.GetWindowContentRegionMin().X) / 2 - (uidTextSize.X / 2));
ImGui.TextColored(GetUidColor(), uidText); ImGui.TextColored(GetUidColor(), uidText);
}
if (groupedfiles != null) if (groupedfiles != null)
{ {
@@ -453,7 +454,6 @@ public class CompactUi : WindowMediatorSubscriberBase
UiSharedService.AttachToolTip(warningMessage); UiSharedService.AttachToolTip(warningMessage);
} }
} }
}
if (_apiController.ServerState is ServerState.Connected) if (_apiController.ServerState is ServerState.Connected)
{ {