mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 20:07:21 +01:00
maybe fix imgui assertion
This commit is contained in:
parent
4d5cc5d9b1
commit
4c1247ef59
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ public class IdDisplayHandler
|
||||||
ImGui.AlignTextToFramePadding();
|
ImGui.AlignTextToFramePadding();
|
||||||
|
|
||||||
ImGui.SetNextItemWidth(editBoxWidth.Invoke());
|
ImGui.SetNextItemWidth(editBoxWidth.Invoke());
|
||||||
if (ImGui.InputTextWithHint("", "Nick/Notes", ref _editComment, 255, ImGuiInputTextFlags.EnterReturnsTrue))
|
if (ImGui.InputTextWithHint("##" + pair.UserData.UID, "Nick/Notes", ref _editComment, 255, ImGuiInputTextFlags.EnterReturnsTrue))
|
||||||
{
|
{
|
||||||
_serverManager.SetNoteForUid(pair.UserData.UID, _editComment);
|
_serverManager.SetNoteForUid(pair.UserData.UID, _editComment);
|
||||||
_serverManager.SaveNotes();
|
_serverManager.SaveNotes();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue