mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 14:33:34 +00:00
parent
9bc1a472a8
commit
abd5ecbe8d
|
@ -50,8 +50,8 @@ export const GridItem = ({ children, item, index, ...props }: Props) => {
|
|||
// Prevent explorer view onMouseDown event from
|
||||
// being executed and resetting the selection
|
||||
onMouseDown={(e) => {
|
||||
if (os === 'browser') return;
|
||||
e.stopPropagation();
|
||||
if (os === 'browser') return;
|
||||
if (e.buttons === 8 || e.buttons === 3) {
|
||||
if (!canGoBack) return;
|
||||
navigate(-1);
|
||||
|
|
Loading…
Reference in a new issue