Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CapSoftware/Cap
/ isAtEnd
Function
isAtEnd
apps/desktop/src/routes/editor/TranscriptPage.tsx:410–413 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
408
};
409
410
const isAtEnd = () => {
411
const total = totalDuration();
412
return total > 0 && total - editorState.playbackTime <= 0.1;
413
};
414
415
const handlePlayPause = async () => {
416
try {
Callers
2
handlePlayPause
Function · 0.70
TranscriptPanel
Function · 0.70
Calls
1
totalDuration
Function · 0.85
Tested by
no test coverage detected