1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed the comment in TwoPoint parameter

This commit is contained in:
Zeno Rogue 2020-04-17 15:37:02 +02:00
parent ec6d93b425
commit 31f1699e51

View File

@ -570,10 +570,11 @@ EX namespace models {
if(among(vpmodel, mdTwoPoint, mdSimulatedPerspective, mdTwoHybrid)) { if(among(vpmodel, mdTwoPoint, mdSimulatedPerspective, mdTwoHybrid)) {
dialog::addSelItem(XLAT("parameter"), fts(vpconf.twopoint_param), 'b'); dialog::addSelItem(XLAT("parameter"), fts(vpconf.twopoint_param), 'b');
dialog::add_action([](){ dialog::add_action([vpmodel](){
dialog::editNumber(vpconf.twopoint_param, 1e-3, 10, .1, 1, XLAT("parameter"), dialog::editNumber(vpconf.twopoint_param, 1e-3, 10, .1, 1, XLAT("parameter"),
s0 + (vpmodel == mdTwoPoint ?
"This model maps the world so that the distances from two points " "This model maps the world so that the distances from two points "
"are kept. This parameter gives the distance from the two points to " "are kept. " : "") + "This parameter gives the distance from the two points to "
"the center." "the center."
); );
dialog::scaleLog(); dialog::scaleLog();