mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-27 13:48:15 +00:00
ray:: fixed left/arrow keys doing nothing when editing exp range
This commit is contained in:
parent
97d4e45996
commit
2cf540cfbc
@ -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))")
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user