MCPcopy
hub / github.com/CapSoftware/Cap / availableWidth

Function availableWidth

apps/desktop/src/routes/editor/Player.tsx:562–563  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

560 const frameHeight = () => latestFrame()?.height ?? 1080;
561
562 const availableWidth = () =>
563 Math.max(debouncedBounds().width - padding * 2, 0);
564 const availableHeight = () =>
565 Math.max(debouncedBounds().height - padding * 2, 0);
566

Callers 3

CaptionOverlayFunction · 0.70
containerAspectFunction · 0.70
sizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected