mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-05 21:33:58 +00:00
fixed 'view the underlying' option for older compilers
This commit is contained in:
parent
99cb3f5a61
commit
8078e5903d
@ -710,9 +710,9 @@ EX void showEuclideanMenu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if(geometry == gRotSpace) {
|
else if(geometry == gRotSpace) {
|
||||||
constexpr auto& r = rots::underlying_scale;
|
auto& r = rots::underlying_scale;
|
||||||
dialog::addSelItem(XLAT("view the underlying geometry"), r > 0 ? fts(r)+"x" : ONOFF(false), '4');
|
dialog::addSelItem(XLAT("view the underlying geometry"), r > 0 ? fts(r)+"x" : ONOFF(false), '4');
|
||||||
dialog::add_action([] {
|
dialog::add_action([&r] {
|
||||||
dialog::editNumber(r, 0, 1, 0.05, 0.25, XLAT("view the underlying geometry"),
|
dialog::editNumber(r, 0, 1, 0.05, 0.25, XLAT("view the underlying geometry"),
|
||||||
XLAT(
|
XLAT(
|
||||||
"The space you are currently in the space of rotations of the underlying hyperbolic or spherical geometry. "
|
"The space you are currently in the space of rotations of the underlying hyperbolic or spherical geometry. "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user