Rows without buttons were smaller than rows with buttons

This commit is contained in:
xPumaa
2022-10-07 21:02:51 +02:00
parent 7ae308fd4e
commit ae44599db0

View File

@@ -708,6 +708,12 @@ namespace MareSynchronos.UI
ImGui.EndPopup();
}
if (!plusButtonShown && !(isOwner || (isModerator && !userIsMod && !userIsOwner)))
{
ImGui.SameLine();
ImGui.Dummy(barButtonSize with { X = 0 });
}
if (_showModalBanUser && !_banUserPopupOpen)
{
ImGui.OpenPopup("Ban User");