From 3ac2296464f348e98341bdbefe8e285da3597b45 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 26 Feb 2020 17:46:33 +0100 Subject: [PATCH] Disable freestyle crop, usability was not easy --- .../features/attachments/preview/AttachmentsPreviewFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/riotx/features/attachments/preview/AttachmentsPreviewFragment.kt b/vector/src/main/java/im/vector/riotx/features/attachments/preview/AttachmentsPreviewFragment.kt index df4f8a9b59..1d525dddf7 100644 --- a/vector/src/main/java/im/vector/riotx/features/attachments/preview/AttachmentsPreviewFragment.kt +++ b/vector/src/main/java/im/vector/riotx/features/attachments/preview/AttachmentsPreviewFragment.kt @@ -213,7 +213,8 @@ class AttachmentsPreviewFragment @Inject constructor( /* tabAspectRatio = */ UCropActivity.SCALE ) setToolbarTitle(currentAttachment.name) - setFreeStyleCropEnabled(true) + // Disable freestyle crop, usability was not easy + // setFreeStyleCropEnabled(true) // Color used for toolbar icon and text setToolbarColor(colorProvider.getColorFromAttribute(R.attr.riotx_background)) setToolbarWidgetColor(colorProvider.getColorFromAttribute(R.attr.vctr_toolbar_primary_text_color))