Added copy text in tooltip of uid
This commit is contained in:
@@ -856,10 +856,10 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase
|
|||||||
UiSharedService.ColorText(text, boolcolor);
|
UiSharedService.ColorText(text, boolcolor);
|
||||||
|
|
||||||
if (ImGui.IsItemClicked())
|
if (ImGui.IsItemClicked())
|
||||||
ImGui.SetClipboardText(text);
|
ImGui.SetClipboardText(pair.UserData.AliasOrUID);
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(pair.PlayerName))
|
if (!string.IsNullOrEmpty(pair.PlayerName))
|
||||||
UiSharedService.AttachToolTip(pair.PlayerName);
|
UiSharedService.AttachToolTip(pair.PlayerName + $"{Environment.NewLine}Click to copy UID or Alias");
|
||||||
|
|
||||||
DrawUserActions(pair, GroupFullInfo, userInfo, isUserOwner, baselineY);
|
DrawUserActions(pair, GroupFullInfo, userInfo, isUserOwner, baselineY);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user