mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-05 21:33:58 +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));
|
anims.push_back(std::move(a));
|
||||||
popScreen();
|
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::addBack();
|
||||||
dialog::display();
|
dialog::display();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user