Partial fix for convoluted game list ext info bug

This commit is contained in:
Sergey Stepanov 2023-09-01 22:54:14 +03:00
parent ae3f91dfc6
commit f2d21c67dc
No known key found for this signature in database
GPG key ID: A56B4929BAA8556B

View file

@ -166,7 +166,8 @@ const gameList = (() => {
render,
marker: {
show: () => gui.show(choiceMarkerEl)
}
},
NO_TRANSITION: onTransitionEnd(),
}
})(TOP_POSITION, SELECT_THRESHOLD_MS, games)
@ -198,6 +199,7 @@ const gameList = (() => {
event.sub(MENU_PRESSED, (position) => {
if (games.empty()) return
ui.onTransitionEnd = ui.NO_TRANSITION
hasTransition = false
scroll.scroll(scroll.state.DRAG)
ui.selected && ui.selected.clear()