mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-15 00:04:14 +01:00
rework creation of popout windows into factory and some refactoring in general
This commit is contained in:
parent
a8bc5386ea
commit
5c9415b6e9
15 changed files with 239 additions and 260 deletions
|
|
@ -408,7 +408,7 @@ public class DrawUserPair
|
|||
}
|
||||
if (ImGui.BeginPopup("User Flyout Menu"))
|
||||
{
|
||||
UiSharedService.DrawWithID($"buttons-{_pair.UserData.UID}", () =>
|
||||
using (ImRaii.PushId($"buttons-{_pair.UserData.UID}"))
|
||||
{
|
||||
ImGui.TextUnformatted("Common Pair Functions");
|
||||
DrawCommonClientMenu();
|
||||
|
|
@ -418,7 +418,7 @@ public class DrawUserPair
|
|||
{
|
||||
_menuRenderWidth = ImGui.GetWindowContentRegionMax().X - ImGui.GetWindowContentRegionMin().X;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
ImGui.EndPopup();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue