timeline refactor, bit broken rn

This commit is contained in:
2025-11-09 10:35:21 -05:00
parent 1e35910b0a
commit e2799b1e58
41 changed files with 2034 additions and 1374 deletions

View File

@@ -85,7 +85,7 @@ namespace anm2ed::imgui
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2());
selection.start(anm2.content.spritesheets.size());
selection.start(anm2.content.spritesheets.size(), ImGuiMultiSelectFlags_ClearOnEscape);
for (auto& [id, spritesheet] : anm2.content.spritesheets)
{
@@ -168,16 +168,16 @@ namespace anm2ed::imgui
context_menu();
}
ImGui::EndChild();
ImGui::PopID();
}
selection.finish();
ImGui::PopStyleVar(2);
context_menu();
selection.finish();
}
ImGui::EndChild();