Store last position when scheduling as review (#1800)
This commit is contained in:
parent
e29a5f779b
commit
8ccadd96e6
@ -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 New Issue
Block a user