Skip to content

Commit

Permalink
added Enabled Checkbox to Inspector module
Browse files Browse the repository at this point in the history
  • Loading branch information
rjwignar committed Sep 28, 2024
1 parent 2c2aec2 commit 5bb59f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5bb59f2

Please sign in to comment.