MCPcopy Create free account
hub / github.com/algorithm-visualizer/algorithm-visualizer / next

Function next

src/components/Player/index.js:127–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 next() {
128 this.pause();
129 const cursor = this.props.player.cursor + 1;
130 if (!this.isValidCursor(cursor)) return false;
131 this.props.setCursor(cursor);
132 return true;
133 }
134
135 handleChangeSpeed(speed) {
136 this.setState({ speed });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected