mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Store last position when scheduling as review (#1800)
This commit is contained in:
parent
e29a5f779b
commit
8ccadd96e6
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