mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-09 12:16:45 +00:00
rogueviz::smoothcam:: edit front_distance and up_distance
This commit is contained in:
parent
74abde8437
commit
db72e94f4c
@ -177,6 +177,14 @@ void edit_step(animation& anim, int id) {
|
||||
dialog::addSelItem("title", f.title, 't');
|
||||
dialog::addSelItem("interval", fts(f.interval), 'i');
|
||||
edit_interval(f.interval);
|
||||
dialog::addSelItem("front distance", fts(f.front_distance), 'f');
|
||||
dialog::add_action([&f] {
|
||||
dialog::editNumber(f.front_distance, -5, 5, .1, 1, "front distance", "");
|
||||
});
|
||||
dialog::addSelItem("up distance", fts(f.up_distance), 'u');
|
||||
dialog::add_action([&f] {
|
||||
dialog::editNumber(f.up_distance, -5, 5, .1, 1, "up distance", "");
|
||||
});
|
||||
dialog::addItem("delete", 'd');
|
||||
dialog::add_action([&anim, id] {
|
||||
anim.frames.erase(anim.frames.begin()+id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user