diff --git a/crates/app/src/ui/timeline.rs b/crates/app/src/ui/timeline.rs index 9a44583..f3270ec 100644 --- a/crates/app/src/ui/timeline.rs +++ b/crates/app/src/ui/timeline.rs @@ -64,11 +64,12 @@ impl Player { &join_detail( &self.live_decode(position, state.is_playing()), &format!( - "{} copy · {} paste · {} undo · click the bar to seek · drop a file \ - to import", + "{} copy · {} paste · {} undo · {} redo · click the bar to seek · \ + drop a file to import", key(ActionId::Copy), key(ActionId::Paste), - key(ActionId::Undo) + key(ActionId::Undo), + key(ActionId::Redo) ), ), ), diff --git a/crates/app/src/ui/toolbar.rs b/crates/app/src/ui/toolbar.rs index a6a795a..9b898dc 100644 --- a/crates/app/src/ui/toolbar.rs +++ b/crates/app/src/ui/toolbar.rs @@ -337,6 +337,16 @@ impl Player { ActionId::Undo, cx.listener(|this, _: &ClickEvent, _, cx| this.undo(cx)), )) + .child(self.action_control( + "redo", + 0., + BG_RAISED(), + None, + "Redo", + "brings the undone edit back", + ActionId::Redo, + cx.listener(|this, _: &ClickEvent, _, cx| this.redo(cx)), + )) .child(separator()) .child(group_label("Track")) .child(self.action_control(