mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 13:24:16 +01:00
adjust to copy display name
This commit is contained in:
parent
b52cfa0801
commit
56242c0e7a
1 changed files with 1 additions and 1 deletions
|
|
@ -713,7 +713,7 @@ public class CompactUi : Window, IDisposable
|
||||||
ImGui.SetCursorPosY(originalPos.Y + uidTextSize.Y / 2 - buttonSize.Y / 2);
|
ImGui.SetCursorPosY(originalPos.Y + uidTextSize.Y / 2 - buttonSize.Y / 2);
|
||||||
if (ImGuiComponents.IconButton(FontAwesomeIcon.Copy))
|
if (ImGuiComponents.IconButton(FontAwesomeIcon.Copy))
|
||||||
{
|
{
|
||||||
ImGui.SetClipboardText(_apiController.UID);
|
ImGui.SetClipboardText(_apiController.DisplayName);
|
||||||
}
|
}
|
||||||
UiShared.AttachToolTip("Copy your UID to clipboard");
|
UiShared.AttachToolTip("Copy your UID to clipboard");
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue