mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-18 13:47:20 +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"
|
||||
: "outline-transparent duration-500",
|
||||
)}
|
||||
onClick={(e) => handleClickEvent(e.metaKey)}
|
||||
onClick={() => {
|
||||
if (selectedFaces.length) {
|
||||
handleClickEvent(true);
|
||||
}
|
||||
}}
|
||||
onContextMenu={(e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user