(e)
| 249 | } |
| 250 | |
| 251 | changeMapRow(e) { |
| 252 | let t = parseInt(e.target.value); |
| 253 | t = t > 30 ? 30 : t < 4 ? 4 : t; |
| 254 | t = Math.min(t, this.state.numCol); |
| 255 | this.setState({ tempRow: t }); |
| 256 | this.adjustMap(t, this.state.numCol, this.createEmptyMap(t, this.state.numCol)); |
| 257 | } |
| 258 | |
| 259 | changeMapCol(e) { |
| 260 | let t = parseInt(e.target.value); |
no test coverage detected