mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
fix (selection): mouse selection issue
This commit is contained in:
parent
e4c46aa750
commit
0f0a06b8d9
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ export default async function(render) {
|
|||
return true;
|
||||
};
|
||||
if (isMobile === false) effect(rxjs.fromEvent($dragContainer, "mousedown").pipe(
|
||||
rxjs.filter((e) => !e.target.closest(`[draggable="true"]`)),
|
||||
rxjs.filter((e) => !e.target.closest(`[draggable="true"]`) && e.buttons === 1),
|
||||
rxjs.tap((e) => e.preventDefault()),
|
||||
rxjs.map((e) => ({
|
||||
start: [e.clientX, e.clientY],
|
||||
|
|
|
|||
Loading…
Reference in a new issue