Update for selecting frames. No more flashing, etc. Not perfect but it'll do

This commit is contained in:
2025-11-17 00:58:22 -05:00
parent d414375d82
commit 25e902f4ea
5 changed files with 83 additions and 31 deletions
+6 -4
View File
@@ -337,14 +337,16 @@ namespace anm2ed::imgui
{
internal.UserData = this;
auto io = ImGui::BeginMultiSelect(flags, this->size(), size);
internal.ApplyRequests(io);
io = ImGui::BeginMultiSelect(flags, this->size(), size);
apply();
}
void MultiSelectStorage::apply() { internal.ApplyRequests(io); }
void MultiSelectStorage::finish()
{
auto io = ImGui::EndMultiSelect();
internal.ApplyRequests(io);
io = ImGui::EndMultiSelect();
apply();
}
PopupHelper::PopupHelper(const char* label, PopupType type, PopupPosition position)