(e)
| 278 | } |
| 279 | |
| 280 | changeMapRow(e) { |
| 281 | let t = parseInt(e.target.value); |
| 282 | t = t > 30 ? 30 : t < 4 ? 4 : t; |
| 283 | t = Math.min(t, this.state.numCol); |
| 284 | this.setState({ tempRow: t }); |
| 285 | this.adjustMap(t, this.state.numCol, this.createEmptyMap(t, this.state.numCol)); |
| 286 | } |
| 287 | |
| 288 | changeMapCol(e) { |
| 289 | let t = parseInt(e.target.value); |
no test coverage detected