MCPcopy Index your code
hub / github.com/CapSoftware/Cap / init

Function init

apps/desktop/src/components/Cropper.tsx:602–607  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

600 setDisplayRawBounds(rawBounds());
601
602 function init() {
603 const bounds = computeInitialBounds();
604 setRawBoundsConstraining(bounds);
605 setDisplayRawBounds(bounds);
606 setIsReady(true);
607 }
608
609 if (props.ref) {
610 const cropperRef: CropperRef = {

Callers 1

updateContainerSizeFunction · 0.70

Calls 2

computeInitialBoundsFunction · 0.85
setRawBoundsConstrainingFunction · 0.85

Tested by

no test coverage detected