mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
fixed default/step in editing 'display distances from'; type_in_reduced used instead of type_in_quick
This commit is contained in:
parent
5e8a42629c
commit
a993c11b76
@ -514,7 +514,7 @@ void do_viewdist(cell *c, const transmatrix& V, color_t& wcol, color_t& fcol) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ncType: {
|
case ncType: {
|
||||||
int t = type_in_quick(expansion, c, curr_dist);
|
int t = type_in_reduced(expansion, c, curr_dist);
|
||||||
if(t >= 0) label = its(t), dc = distribute_color(t);
|
if(t >= 0) label = its(t), dc = distribute_color(t);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -552,7 +552,7 @@ void viewdist_configure_dialog() {
|
|||||||
dialog::addSelItem("display distances from", its(first_distance), 'd');
|
dialog::addSelItem("display distances from", its(first_distance), 'd');
|
||||||
dialog::add_action([] () {
|
dialog::add_action([] () {
|
||||||
scrolling_distances = false;
|
scrolling_distances = false;
|
||||||
dialog::editNumber(first_distance, 0, 3000, 0, 1, "display distances from", "");
|
dialog::editNumber(first_distance, 0, 3000, 1, 0, "display distances from", "");
|
||||||
});
|
});
|
||||||
|
|
||||||
int id = 0;
|
int id = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user