Target player improvements / crash fix

This commit is contained in:
Loporrit
2023-12-12 10:30:39 +00:00
parent ec951a8976
commit 14f0b10244
4 changed files with 34 additions and 10 deletions

View File

@@ -302,6 +302,14 @@ public class DrawGroupPair : DrawPairBase
}
ImGui.Separator();
if (_pair.IsVisible)
{
if (UiSharedService.NormalizedIconTextButton(FontAwesomeIcon.Eye, "Target player"))
{
_mediator.Publish(new TargetPairMessage(_pair));
ImGui.CloseCurrentPopup();
}
}
if (!_pair.IsPaused)
{
if (UiSharedService.NormalizedIconTextButton(FontAwesomeIcon.User, "Open Profile"))