Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CapSoftware/Cap
/ currentFrameNumber
Function
currentFrameNumber
apps/desktop/src/routes/editor/Editor.tsx:994–1001 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
992
});
993
994
const currentFrameNumber = () =>
995
Math.max(
996
Math.floor(
997
(editorState.previewTime ?? editorState.playbackTime) *
998
FPS,
999
),
1000
0,
1001
);
1002
1003
const drawPreview = () => {
1004
if (
Callers
1
queueConfig
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected