MCPcopy Create free account
hub / github.com/StevenLyt/mapf-visualizer / handleMouseEnter

Method handleMouseEnter

src/MAPFVisualizer.jsx:430–434  ·  view source on GitHub ↗
(row, col)

Source from the content-addressed store, hash-verified

428 }
429
430 handleMouseEnter(row, col) {
431 if (this.state.isMousePressed) {
432 this.updateWall(row, col);
433 }
434 }
435
436 handleMouseUp(row, col) {
437 this.setState({ isMousePressed: false });

Callers 1

renderMethod · 0.95

Calls 1

updateWallMethod · 0.95

Tested by

no test coverage detected