feat: highlight current layout selection
This commit is contained in:
parent
4833d70164
commit
2aaf87f7b4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user