mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Reset ease to 0 for after rescheduling cards as new
This commit is contained in:
parent
c8373f1ced
commit
caa536a753
1 changed files with 1 additions and 5 deletions
|
@ -21,11 +21,7 @@ impl Card {
|
|||
self.ctype = CardType::New;
|
||||
self.queue = CardQueue::New;
|
||||
self.interval = 0;
|
||||
if self.ease_factor == 0 {
|
||||
// unlike the old Python code, we leave the ease factor alone
|
||||
// if it's already set
|
||||
self.ease_factor = INITIAL_EASE_FACTOR_THOUSANDS;
|
||||
}
|
||||
self.ease_factor = 0;
|
||||
}
|
||||
|
||||
/// If the card is new, change its position.
|
||||
|
|
Loading…
Reference in a new issue