mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:37:22 +01:00
Right click to cancel nick change
This commit is contained in:
parent
5a3ae5154c
commit
0f81d5d99d
1 changed files with 6 additions and 1 deletions
|
|
@ -234,7 +234,12 @@ namespace MareSynchronos.UI
|
|||
_configuration.Save();
|
||||
_editNickEntry = string.Empty;
|
||||
}
|
||||
AttachToolTip("Hit ENTER to save");
|
||||
|
||||
if (ImGui.IsItemClicked(ImGuiMouseButton.Right))
|
||||
{
|
||||
_editNickEntry = string.Empty;
|
||||
}
|
||||
AttachToolTip("Hit ENTER to save\nRight click to cancel");
|
||||
}
|
||||
|
||||
ImGui.SameLine(ImGui.GetWindowContentRegionMin().X + ImGui.GetWindowContentRegionWidth() - buttonSize.X);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue