Update listeners when selected tracks change (req'd for hotkeys)

This commit is contained in:
James Barnsley
2021-09-05 12:07:12 +12:00
parent 30a3bb31b3
commit a2e6814684

View File

@ -44,7 +44,7 @@ const TrackList = ({
window.removeEventListener('touchmove', onTouchMove, false);
window.removeEventListener('touchend', onTouchEnd, false);
}
}, []);
}, [selected_tracks]);
const onKeyDown = (e) => {
const {