mirror of
https://github.com/ankitects/anki.git
synced 2026-01-10 04:23:54 -05:00
Fix: Missing negation for enter/space key
This commit is contained in:
parent
f938b4ecc5
commit
06a4cd1916
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ export class ReviewerState {
|
||||||
}
|
}
|
||||||
case " ":
|
case " ":
|
||||||
case "enter": {
|
case "enter": {
|
||||||
if (this._answerShown) {
|
if (!this._answerShown) {
|
||||||
this.showAnswer();
|
this.showAnswer();
|
||||||
} else if (this._cardData?.acceptEnter ?? true) {
|
} else if (this._cardData?.acceptEnter ?? true) {
|
||||||
this.easeButtonPressed(2);
|
this.easeButtonPressed(2);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue