mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
MultiSelect: Fixed needing to set RangeSrcPassedBy when not using clipper.
This commit is contained in:
parent
78cb1661cb
commit
815c61b82e
2 changed files with 5 additions and 8 deletions
|
|
@ -2881,10 +2881,6 @@ static void ShowDemoWindowMultiSelect()
|
|||
|
||||
for (int n = 0; n < ITEMS_COUNT; n++)
|
||||
{
|
||||
// FIXME-MULTISELECT: This should not be needed but currently is because coarse clipping break the auto-setup.
|
||||
if (n > selection.RangeRef)
|
||||
multi_select_data->RangeSrcPassedBy = true;
|
||||
|
||||
char label[64];
|
||||
sprintf(label, "Object %05d: %s", n, random_names[n % IM_ARRAYSIZE(random_names)]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue