1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-17 18:59:59 +00:00

ray:: fixed left/arrow keys doing nothing when editing exp range

This commit is contained in:
Zeno Rogue 2019-11-08 15:00:09 +01:00
parent 97d4e45996
commit 2cf540cfbc

View File

@ -956,7 +956,7 @@ EX void configure() {
dialog::addSelItem(XLAT("exponential range"), fts(exp_decay_current()), 'r'); dialog::addSelItem(XLAT("exponential range"), fts(exp_decay_current()), 'r');
dialog::add_action([&] { dialog::add_action([&] {
dialog::editNumber(exp_decay_current(), 0, 40, 0, 5, XLAT("exponential range"), dialog::editNumber(exp_decay_current(), 0, 40, 0.25, 5, XLAT("exponential range"),
XLAT("brightness formula: max(1-d/sightrange, s*exp(-d/r))") XLAT("brightness formula: max(1-d/sightrange, s*exp(-d/r))")
); );
}); });