From 5bb59f2154141c9754611e32d50bd6f371c11628 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 28 Sep 2024 15:42:17 -0400 Subject: [PATCH] added Enabled Checkbox to Inspector module --- inspector.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inspector.cpp b/inspector.cpp index ec4f9ff..f35622f 100644 --- a/inspector.cpp +++ b/inspector.cpp @@ -517,6 +517,10 @@ void DrawInspector() { if (item_color != "") { SetItemColor(item, item_color); } + auto enabled = item->enabled(); + if(ImGui::Checkbox("Enabled", &enabled)){ + item->set_enabled(enabled); + } } auto trimmed_range = item->trimmed_range();