mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-22 13:47:29 +02:00
Only handle click on card when selection mode is ongoing (#17493)
This commit is contained in:
parent
a6c8bcd878
commit
907283b9a4
@ -623,7 +623,11 @@ function FaceAttemptGroup({
|
|||||||
? "shadow-selected outline-selected"
|
? "shadow-selected outline-selected"
|
||||||
: "outline-transparent duration-500",
|
: "outline-transparent duration-500",
|
||||||
)}
|
)}
|
||||||
onClick={(e) => handleClickEvent(e.metaKey)}
|
onClick={() => {
|
||||||
|
if (selectedFaces.length) {
|
||||||
|
handleClickEvent(true);
|
||||||
|
}
|
||||||
|
}}
|
||||||
onContextMenu={(e) => {
|
onContextMenu={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
Loading…
Reference in New Issue
Block a user