turned cropping of in example.

This commit is contained in:
Marcus Andersson
2017-12-20 20:19:14 +01:00
parent c51f0b5f93
commit 03b76bd542
+3 -2
View File
@@ -13,7 +13,8 @@ const styles = StyleSheet.create({
flex: 1,
},
preview: {
flex: 1,
alignSelf: "stretch",
aspectRatio: 1,
justifyContent: 'flex-end',
alignItems: 'center'
},
@@ -186,7 +187,7 @@ export default class Example extends React.Component {
onZoomChanged={() => {}}
defaultTouchToFocus
mirrorImage={false}
cropToPreview={true}
cropToPreview={false}
/>
<View style={[styles.overlay, styles.topOverlay]}>
<TouchableOpacity