mirror of
https://github.com/jeffvli/sonixd.git
synced 2026-05-01 19:52:36 -04:00
fix double click
This commit is contained in:
@@ -91,7 +91,7 @@ const NowPlayingView = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const handleRowDoubleClick = (_e: any, rowData: any) => {
|
||||
const handleRowDoubleClick = (rowData: any) => {
|
||||
window.clearTimeout(timeout);
|
||||
timeout = null;
|
||||
dispatch(clearSelected());
|
||||
|
||||
@@ -198,7 +198,7 @@ const ListViewType = ({
|
||||
})
|
||||
}
|
||||
onDoubleClick={(e: any) =>
|
||||
handleRowDoubleClick(e, {
|
||||
handleRowDoubleClick({
|
||||
...rowData,
|
||||
rowIndex,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user