Target player improvements / crash fix
This commit is contained in:
@@ -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"))
|
||||
|
||||
@@ -193,6 +193,14 @@ public class DrawUserPair : DrawPairBase
|
||||
|
||||
private void DrawPairedClientMenu(Pair entry)
|
||||
{
|
||||
if (entry.IsVisible)
|
||||
{
|
||||
if (UiSharedService.NormalizedIconTextButton(FontAwesomeIcon.Eye, "Target player"))
|
||||
{
|
||||
_mediator.Publish(new TargetPairMessage(entry));
|
||||
ImGui.CloseCurrentPopup();
|
||||
}
|
||||
}
|
||||
if (!entry.IsPaused)
|
||||
{
|
||||
if (UiSharedService.NormalizedIconTextButton(FontAwesomeIcon.User, "Open Profile"))
|
||||
|
||||
Reference in New Issue
Block a user