Skip to content

Commit 45ebc03

Browse files
mahuttCopilot
andcommitted
fix: prevent key scoring when cmd or ctrl is pressed
Co-authored-by: Copilot <copilot@github.com>
1 parent f62478f commit 45ebc03

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cue-client/src/components/study-stack.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ function CardFlipper({
124124
setFlipped((prev) => !prev);
125125
setShowScores(true);
126126
}
127+
if (e.metaKey || e.ctrlKey) return;
127128
if (e.key === '1') {
128129
e.preventDefault();
129130
updateScore(0);

0 commit comments

Comments
 (0)