enhance(tasks): feedback about ask movement with custom time

This commit is contained in:
xeruf 2024-11-24 23:11:19 +01:00
parent a8fb3f919d
commit cb15fbaac5
1 changed files with 5 additions and 0 deletions

View File

@ -951,6 +951,11 @@ impl TasksRelay {
} }
pub(crate) fn move_to(&mut self, target: Option<EventId>) { pub(crate) fn move_to(&mut self, target: Option<EventId>) {
if let Some(time) = self.custom_time {
self.track_at(time, target);
return;
}
self.view.clear(); self.view.clear();
let pos = self.get_position(); let pos = self.get_position();
if target == pos { if target == pos {