decrease list click delay from 300 -> 100

Since we removed the floating selection bar, it makes sense to no longer have a long delay on click. Decreasing the single-click interval increases the responsiveness of the list, while still allowing double clicks to function as normal.
This commit is contained in:
jeffvli
2021-09-18 03:18:12 -07:00
parent b0c101604f
commit 174d8ce029
7 changed files with 7 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ const AlbumList = () => {
} else {
dispatch(setSelected(rowData));
}
}, 300);
}, 100);
}
};

View File

@@ -72,7 +72,7 @@ const AlbumView = ({ ...rest }: any) => {
} else {
dispatch(setSelected(rowData));
}
}, 300);
}, 100);
}
};

View File

@@ -75,7 +75,7 @@ const ArtistView = ({ ...rest }: any) => {
} else {
dispatch(setSelected(rowData));
}
}, 300);
}, 100);
}
};

View File

@@ -80,7 +80,7 @@ const NowPlayingMiniView = () => {
} else {
dispatch(setSelected(rowData));
}
}, 300);
}, 100);
}
};

View File

@@ -83,7 +83,7 @@ const NowPlayingView = () => {
} else {
dispatch(setSelected(rowData));
}
}, 300);
}, 100);
}
};

View File

@@ -104,7 +104,7 @@ const PlaylistView = ({ ...rest }) => {
} else {
dispatch(setSelected(rowData));
}
}, 300);
}, 100);
}
};

View File

@@ -75,7 +75,7 @@ const StarredView = () => {
} else {
dispatch(setSelected(rowData));
}
}, 300);
}, 100);
}
};