Really basic component inspection

This commit is contained in:
max
2024-10-22 23:54:36 +02:00
parent 2a351f7b9d
commit 57b42d8daa
4 changed files with 65 additions and 12 deletions
@@ -96,6 +96,7 @@ namespace Nerfed.Editor.Systems
if (ImGui.TreeNodeEx($"{entity.ID} | {GetTag(entity)}", flags))
{
// TODO: fix selection, look at ImGui 1.91, https://github.com/ocornut/imgui/wiki/Multi-Select
// Selection.
if (ImGui.IsItemClicked() && !ImGui.IsItemToggledOpen())
{