mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-28 03:36:45 +02:00
Image editor: larger handles
This commit is contained in:
@@ -35,6 +35,7 @@ import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
|
||||
import com.canhub.cropper.CropImageOptions;
|
||||
import com.canhub.cropper.CropImageView;
|
||||
|
||||
import java.io.BufferedOutputStream;
|
||||
@@ -160,6 +161,10 @@ public class FragmentDialogEditImage extends FragmentDialogBase {
|
||||
}
|
||||
});
|
||||
|
||||
CropImageOptions options = new CropImageOptions();
|
||||
options.borderCornerThickness = Helper.dp2pixels(context, 5);
|
||||
civ.setImageCropOptions(options);
|
||||
|
||||
new SimpleTask<EntityAttachment>() {
|
||||
@Override
|
||||
protected void onPreExecute(Bundle args) {
|
||||
|
||||
Reference in New Issue
Block a user