mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
fixed pattern hotkeys in expansion
This commit is contained in:
parent
0435c490c3
commit
c5ef68730e
@ -469,9 +469,9 @@ void viewdist_configure_dialog() {
|
||||
dialog::editNumber(first_distance, 0, 3000, 0, 1, "display distances from", "");
|
||||
});
|
||||
|
||||
int id = 0;
|
||||
for(auto& lp: linepatterns::patterns) {
|
||||
using namespace linepatterns;
|
||||
int id = 0;
|
||||
if(among(lp.id, patTriTree, patTriRings, patTriOther)) {
|
||||
dialog::addColorItem(XLAT(lp.lpname), lp.color, '1'+(id++));
|
||||
dialog::add_action([&lp] () {
|
||||
|
Loading…
Reference in New Issue
Block a user