MCPcopy Create free account
hub / github.com/Moebytes/Frame-Player / getDelay

Function getDelay

components/VideoPlayer.tsx:521–524  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

519 }
520
521 const getDelay = () => {
522 return (adjustedData?.[pos] as AnimationFrame)?.delay ?
523 (adjustedData?.[pos] as AnimationFrame).delay : 1000 / fps
524 }
525
526 const update = () => {
527 if (!adjustedData) return

Callers 1

animateFPSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected