Fix: Missing negation for enter/space key

This commit is contained in:
Luc Mcgrady 2025-11-18 21:08:04 +00:00
parent f938b4ecc5
commit 06a4cd1916
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -266,7 +266,7 @@ export class ReviewerState {
}
case " ":
case "enter": {
if (this._answerShown) {
if (!this._answerShown) {
this.showAnswer();
} else if (this._cardData?.acceptEnter ?? true) {
this.easeButtonPressed(2);