diff options
author | Michael <michael.foiani@gmail.com> | 2021-07-15 15:34:41 -0400 |
---|---|---|
committer | Michael <michael.foiani@gmail.com> | 2021-07-15 15:34:41 -0400 |
commit | eed51412f523cd661a2081147c7b1b0591732973 (patch) | |
tree | 448f799d92368dc32d3875e6dff212628c52f604 /src/components/comments | |
parent | d3b757fa16224f6c7cff136674cfac05c3a24c3f (diff) |
Incorporate trimmer with zoom/crop component. Can toggle on and off with a boolean prop on the trimmerPlayer component.
Diffstat (limited to 'src/components/comments')
-rw-r--r-- | src/components/comments/ZoomInCropper.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/comments/ZoomInCropper.tsx b/src/components/comments/ZoomInCropper.tsx index 3c1e287d..20edafd0 100644 --- a/src/components/comments/ZoomInCropper.tsx +++ b/src/components/comments/ZoomInCropper.tsx @@ -307,7 +307,7 @@ export const ZoomInCropper: React.FC<ZoomInCropperProps> = ({ style={styles.zoomView}> <View style={styles.videoParent} ref={vidRef}> <TrimmerPlayer - hideTrimmer={true} + hideTrimmer={false} source={media.uri} videoStyles={[ styles.media, @@ -316,7 +316,6 @@ export const ZoomInCropper: React.FC<ZoomInCropperProps> = ({ }, ]} handleLoad={(response: Object) => { - console.log(response); const {width, height} = response; setOrigDimensions([width, height]); setAspectRatio(width / height); |