From 03b76bd542a2f4652d167f20c6af92a5fc9a5632 Mon Sep 17 00:00:00 2001 From: Marcus Andersson Date: Wed, 20 Dec 2017 12:24:04 +0100 Subject: [PATCH] turned cropping of in example. --- Example/Example.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Example/Example.js b/Example/Example.js index 0a58944..09388bf 100644 --- a/Example/Example.js +++ b/Example/Example.js @@ -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} />