@@ -98,7 +98,7 @@ function grid_menu_get_item_by_label(_menu, _label) {
9898// - {boolean} silent_on_confirm
9999function grid_menu_add_selectable (_x, _y, _config) {
100100 if (_x < 0 || _x >= ds_grid_width (items)
101- || _y < 0 || _x >= ds_grid_height (items))
101+ || _y < 0 || _y >= ds_grid_height (items))
102102 return ;
103103
104104 var _new = new MenuSelectable (_config);
@@ -122,7 +122,7 @@ function grid_menu_add_selectable(_x, _y, _config) {
122122// - {boolean} silent_on_change
123123function grid_menu_add_spinner (_x, _y, _config) {
124124 if (_x < 0 || _x >= ds_grid_width (items)
125- || _y < 0 || _x >= ds_grid_height (items))
125+ || _y < 0 || _y >= ds_grid_height (items))
126126 return ;
127127
128128 var _new = new MenuSpinner (_config);
@@ -145,7 +145,7 @@ function grid_menu_add_spinner(_x, _y, _config) {
145145// - {boolean} silent_on_change
146146function grid_menu_add_key_config (_x, _y, _config) {
147147 if (_x < 0 || _x >= ds_grid_width (items)
148- || _y < 0 || _x >= ds_grid_height (items))
148+ || _y < 0 || _y >= ds_grid_height (items))
149149 return ;
150150
151151 var _new = new MenuKeyConfig (_config);
@@ -161,7 +161,7 @@ function grid_menu_add_key_config(_x, _y, _config) {
161161// - {string} label
162162function grid_menu_add_divider (_x, _y, _config) {
163163 if (_x < 0 || _x >= ds_grid_width (items)
164- || _y < 0 || _x >= ds_grid_height (items))
164+ || _y < 0 || _y >= ds_grid_height (items))
165165 return ;
166166
167167 var _new = new MenuDivider (_config);
0 commit comments