bubbles icon indicating copy to clipboard operation
bubbles copied to clipboard

fix: table.SetCursor cursor rendered offscreen

Open ghthor opened this issue 1 year ago • 0 comments

When using table.SetCursor to modify the location of the cursor in a table, the viewport wasn't getting updated in the same way as MoveUp/MoveDown which was causing the resulting View() to sometimes not include the cursor.

This changeset fixes this by internally converting any SetCursor calls to re-use the logic in MoveUp/MoveDown by calling those functions directly

ghthor avatar Mar 06 '23 21:03 ghthor