mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:27:21 +01:00
Popup optimisation
This commit is contained in:
parent
cf71ecdbc5
commit
7681c7ee66
4 changed files with 69 additions and 21 deletions
|
|
@ -160,7 +160,7 @@ public class CompactUi : Window, IDisposable
|
|||
_lastAddedUserComment = string.Empty;
|
||||
}
|
||||
|
||||
if (ImGui.BeginPopupModal("Set Notes for New User", ref _showModalForUserAddition, ImGuiWindowFlags.AlwaysAutoResize))
|
||||
if (ImGui.BeginPopupModal("Set Notes for New User", ref _showModalForUserAddition, UiShared.PopupWindowFlags))
|
||||
{
|
||||
if (_lastAddedUser == null)
|
||||
{
|
||||
|
|
@ -180,6 +180,7 @@ public class CompactUi : Window, IDisposable
|
|||
_showModalForUserAddition = false;
|
||||
}
|
||||
}
|
||||
UiShared.SetScaledWindowSize(275);
|
||||
ImGui.EndPopup();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue