Fix teleporting via mouse

If you have a "List Length" = 10 and try to teleport, for example, to 14th-mark, it will work via pressing an ENTER button, but nothing happens if you press a left mouse button.

That's because in the first case doRecall() function will get an index 9 (local index of the visible row), while via mouse it will get an index 14 (a mark number).

A proposed fix is to subtract a mark index of first element when recalling via mouse.

I tested a teleporting via ENTER an mouse button, but I am unable to test a teleporting via gamepad.

Merge request reports

Loading