Touch detection for track selection regardless of slim_mode; Fixes #186
This commit is contained in:
@ -208,7 +208,7 @@ class TrackList extends React.Component{
|
||||
handleSelection(e,track_key){
|
||||
let selected_tracks = this.props.selected_tracks
|
||||
|
||||
if (e.ctrlKey || this.props.slim_mode){
|
||||
if (e.ctrlKey || this.props.slim_mode || helpers.isTouchDevice()){
|
||||
|
||||
// Already selected, so unselect it
|
||||
if (selected_tracks.includes(track_key)){
|
||||
|
||||
Reference in New Issue
Block a user