1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

fixed matrix_setting::show_edit_option to display dim

This commit is contained in:
Zeno Rogue 2023-08-15 17:08:12 +02:00
parent b123900b52
commit 442a7d3c74

View File

@ -601,7 +601,7 @@ void color_setting::show_edit_option(int key) {
} }
void matrix_setting::show_edit_option(int key) { void matrix_setting::show_edit_option(int key) {
dialog::addMatrixItem(XLAT(menu_item_name), *value, key); dialog::addMatrixItem(XLAT(menu_item_name), *value, key, dim);
dialog::add_action([this] () { dialog::add_action([this] () {
dialog::editMatrix(*value, XLAT(menu_item_name), help_text, dim); dialog::editMatrix(*value, XLAT(menu_item_name), help_text, dim);
if(sets) sets(); if(sets) sets();