mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
don't show useless options in Conformal menu in non-hyperbolic
This commit is contained in:
parent
5b7314764f
commit
b2673ba0b3
@ -588,7 +588,7 @@ namespace conformal {
|
||||
dialog::addSelItem(XLAT("degree of the approximation"), its(polygonal::deg), 'n');
|
||||
}
|
||||
|
||||
dialog::addBoolItem(XLAT("prepare the line animation"), (on), 'e');
|
||||
if(!bounded && !euclid) dialog::addBoolItem(XLAT("prepare the line animation"), (on), 'e');
|
||||
if(on) dialog::addSelItem(XLAT("animation speed"), fts(lvspeed), 'a');
|
||||
|
||||
#if CAP_SDL
|
||||
@ -596,7 +596,7 @@ namespace conformal {
|
||||
if(autoband)
|
||||
dialog::addBoolItem(XLAT("include history when auto-rendering"), (autobandhistory), 'j');
|
||||
|
||||
bool renderable = on && pmodel == 2;
|
||||
bool renderable = on && pmodel == 2 && !euclid && !sphere;
|
||||
if(renderable || autoband) {
|
||||
dialog::addSelItem(XLAT("band width"), "2*"+its(bandhalf), 'd');
|
||||
dialog::addSelItem(XLAT("length of a segment"), its(bandsegment), 's');
|
||||
|
Loading…
Reference in New Issue
Block a user