mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-06 08:43:02 +00:00
int_setting uses min_max_value
This commit is contained in:
@@ -298,7 +298,7 @@ void int_setting::show_edit_option(char key) {
|
|||||||
dialog::addSelItem(XLAT(menu_item_name), its(*value), key);
|
dialog::addSelItem(XLAT(menu_item_name), its(*value), key);
|
||||||
dialog::add_action([this] () {
|
dialog::add_action([this] () {
|
||||||
add_to_changed(this);
|
add_to_changed(this);
|
||||||
dialog::editNumber(*value, 0, 100, 1, dft, XLAT(menu_item_name), help_text);
|
dialog::editNumber(*value, min_value, max_value, step, dft, XLAT(menu_item_name), help_text);
|
||||||
if(sets) sets();
|
if(sets) sets();
|
||||||
if(reaction) dialog::reaction = reaction;
|
if(reaction) dialog::reaction = reaction;
|
||||||
if(extra) dialog::extra_options = extra;
|
if(extra) dialog::extra_options = extra;
|
||||||
|
|||||||
Reference in New Issue
Block a user