mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 00:23:08 +00:00
rogueviz::smoothcam:: added 'copy before
This commit is contained in:
1 parent
82fcf76005
commit
74abde8437
1 file changed
+7
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user