Nameplate Fix + Text Handling

This commit is contained in:
defnotken
2025-10-10 16:26:36 -05:00
parent a29e155cec
commit 70c296a16b
2 changed files with 29 additions and 25 deletions

View File

@@ -1254,7 +1254,8 @@ public class SettingsUi : WindowMediatorSubscriberBase
var selected = i == _lightfinderIconPresetIndex;
if (ImGui.Selectable(preview, selected))
{
ApplyLightfinderIcon(optionGlyph, i);
_lightfinderIconInput = NameplateHandler.ToIconEditorString(optionGlyph);
_lightfinderIconPresetIndex = i;
}
}
@@ -2594,6 +2595,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
_lightfinderIconInput = NameplateHandler.ToIconEditorString(normalizedGlyph);
_lightfinderIconPresetIndex = presetIndex;
_lightfinderIconInputInitialized = true;
ImGui.SetKeyboardFocusHere(-1);
}
private void DrawSettingsContent()