mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Store last position when scheduling as review (#1800)
This commit is contained in:
parent
13112465a7
commit
117eafb6ee
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ impl Card {
|
|||
}
|
||||
|
||||
fn schedule_as_review(&mut self, interval: u32, due: i32, ease_factor: u16) {
|
||||
self.original_position = self.last_position();
|
||||
self.remove_from_filtered_deck_before_reschedule();
|
||||
self.interval = interval.max(1);
|
||||
self.due = due;
|
||||
|
|
|
|||
Loading…
Reference in a new issue