diff --git a/rogueviz/smoothcam.cpp b/rogueviz/smoothcam.cpp index e082c11f..89018cc2 100644 --- a/rogueviz/smoothcam.cpp +++ b/rogueviz/smoothcam.cpp @@ -156,6 +156,13 @@ void edit_segment(int aid) { anims.push_back(std::move(a)); popScreen(); }); + dialog::addItem("copy before", 'c'); + dialog::add_action([aid] { + auto a = anims[aid]; + anims.insert(anims.begin() + aid, a); + current_segment = nullptr; + popScreen(); + }); dialog::addBack(); dialog::display(); }