| 8661 | } |
| 8662 | |
| 8663 | static void ImGuiSelectionBasicStorage_BatchFinish(ImGuiSelectionBasicStorage* selection, bool selected, int size_before_amends) |
| 8664 | { |
| 8665 | ImGuiStorage* storage = &selection->_Storage; |
| 8666 | if (selected && selection->Size != size_before_amends) |
| 8667 | storage->BuildSortByKey(); // When done selecting: sort everything |
| 8668 | } |
| 8669 | |
| 8670 | // Apply requests coming from BeginMultiSelect() and EndMultiSelect(). |
| 8671 | // - Enable 'Demo->Tools->Debug Log->Selection' to see selection requests as they happen. |
no test coverage detected