mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Exclude lapses
This commit is contained in:
parent
c9d42680dc
commit
375128e170
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ pub(crate) fn get_last_revlog_info(revlogs: &[RevlogEntry]) -> HashMap<CardId, L
|
|||
for e in group.into_iter() {
|
||||
if e.has_rating_and_affects_scheduling() {
|
||||
last_reviewed_at = Some(e.id.as_secs());
|
||||
previous_interval = if e.last_interval >= 0 {
|
||||
previous_interval = if e.last_interval >= 0 && e.button_chosen > 1 {
|
||||
Some(e.last_interval as u32)
|
||||
} else {
|
||||
None
|
||||
|
|
|
|||
Loading…
Reference in a new issue