feat: highlight current layout selection

This commit is contained in:
Anna 2021-03-13 11:41:06 -05:00
parent 97bc0ef2aa
commit fc64403b89
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ namespace HUD_Manager {
foreach (var node in nodes) {
foreach (var (child, depth) in node.TraverseWithDepth()) {
var indent = new string(' ', (int) depth * 4);
if (!ImGui.Selectable($"{indent}{child.Value.Name}##edit-{child.Id}")) {
if (!ImGui.Selectable($"{indent}{child.Value.Name}##edit-{child.Id}", child.Id == this._selectedEditLayout)) {
continue;
}