MCPcopy
hub / github.com/midrender/revideo / toggleLoop

Method toggleLoop

packages/core/src/app/Player.ts:236–243  ·  view source on GitHub ↗
(value = !this.playerState.current.loop)

Source from the content-addressed store, hash-verified

234 }
235
236 public toggleLoop(value = !this.playerState.current.loop) {
237 if (value !== this.playerState.current.loop) {
238 this.playerState.current = {
239 ...this.playerState.current,
240 loop: value,
241 };
242 }
243 }
244
245 public togglePlayback(
246 value: boolean = this.playerState.current.paused,

Callers 3

updateProjectMethod · 0.95
PlaybackControlsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected