mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 00:47:40 +00:00
embeddings:: reset view option in menu to fix errors
This commit is contained in:
@@ -2332,6 +2332,14 @@ EX void show_spatial_embedding() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dialog::addSelItem(XLAT("reset view"), embedded_plane && isize(current_display->radarpoints) == 0 ? XLAT("(fix errors)") : !cells_drawn ? XLAT("(fix errors)") : "", ' ');
|
||||||
|
dialog::add_action([] {
|
||||||
|
if(rug::rug_control())
|
||||||
|
rug::reset_view();
|
||||||
|
else
|
||||||
|
fullcenter();
|
||||||
|
});
|
||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user