« get me outta code hell

select child grouplike when loading parent - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/guess.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2020-05-04 13:29:30 -0300
committerFlorrie <towerofnix@gmail.com>2020-05-04 13:29:30 -0300
commit705c424332fb92ff3ce1fc3b35b2f18bd9e4c8e3 (patch)
tree2c9ab90307088369c73a17ff4e482b781e2d80b4 /guess.js
parente7a005f948415afae89a1a2aaa435d1839f4002e (diff)
select child grouplike when loading parent
This was already the previous behavior, but a misplaced
restoreGrouplikeData was overwriting that effect. With this
commit, the scroll position will still be restored, but the
selected item will be correctly changed to whichever was
opened.

(This arguably means it's no longer necessary to restore the
selected item in save/restoreGrouplikeData at all, but it's
kept there in case a grouplike is ever unloaded through some
means besides opening its child -- actually this is the case
if you reveal an item whos ancestor groups don't fully overlap
with that of the previously open group.)
Diffstat (limited to 'guess.js')
0 files changed, 0 insertions, 0 deletions