mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 14:35:03 +01:00
Increase default photo size to 2560px
This commit is contained in:
parent
c319639e9a
commit
11b82ec9de
2 changed files with 2 additions and 2 deletions
|
@ -2477,7 +2477,7 @@ public class AndroidUtilities {
|
|||
|
||||
public static int getPhotoSize() {
|
||||
if (photoSize == null) {
|
||||
photoSize = 1280;
|
||||
photoSize = 2560;
|
||||
}
|
||||
return photoSize;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ import java.util.ArrayList;
|
|||
|
||||
public class CropView extends FrameLayout implements CropAreaView.AreaViewListener, CropGestureDetector.CropGestureListener {
|
||||
private static final float EPSILON = 0.00001f;
|
||||
private static final int RESULT_SIDE = 1280;
|
||||
private static final int RESULT_SIDE = 2560;
|
||||
private static final float MAX_SCALE = 30.0f;
|
||||
|
||||
public CropAreaView areaView;
|
||||
|
|
Loading…
Reference in a new issue