Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
3 changes: 3 additions & 0 deletions timeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ void DrawItem(
hover_fill_color = TintedColorForUI(fill_color);
}

if (!item->enabled()){
fill_color = UIColorFromName("");
}
if (auto gap = dynamic_cast<otio::Gap*>(item)) {
// different colors & style
fill_color = appTheme.colors[AppThemeCol_Background];
Expand Down