[quickview] Reorder the current index wrapping
When an item in a check-select is deleted, onFileSelectionChanged_ must ensure that the current index wraps to stay in bounds of the new selection. When we wrap, favor the bottom entry. Tests coming. Tbr: alex Bug: 803259 Change-Id: I0a6c1f4a22770ad48040695f2b170dcd0db50459 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2035474Reviewed-by:Noel Gordon <noel@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Commit-Queue: Rachel Sugrono <rsugrono@google.com> Cr-Commit-Position: refs/heads/master@{#738413}
Showing
Please register or sign in to comment