mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
rogueviz::smoothcam:: added 'copy before
This commit is contained in:
parent
82fcf76005
commit
74abde8437
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user