Only handle click on card when selection mode is ongoing

This commit is contained in:
Nicolas Mowen 2025-04-01 16:02:19 -06:00
parent a6c8bcd878
commit db1b6328f3

View File

@ -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();