mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 15:41:02 +00:00
update to 9.3.2
This commit is contained in:
parent
3ccf875b1b
commit
5a31f93ec2
45 changed files with 482 additions and 159 deletions
|
|
@ -12747,7 +12747,7 @@ public class PhotoViewer implements NotificationCenter.NotificationCenterDelegat
|
|||
}
|
||||
SecureDocument location = secureDocuments.get(index);
|
||||
f1 = FileLoader.getInstance(currentAccount).getPathToAttach(location, true);
|
||||
f1 = FileLoader.getInstance(currentAccount).getPathToAttach(location, false);
|
||||
f2 = FileLoader.getInstance(currentAccount).getPathToAttach(location, false);
|
||||
} else if (currentPathObject != null) {
|
||||
f1 = new File(FileLoader.getDirectory(FileLoader.MEDIA_DIR_DOCUMENT), currentFileNames[a]);
|
||||
f2 = new File(FileLoader.getDirectory(FileLoader.MEDIA_DIR_CACHE), currentFileNames[a]);
|
||||
|
|
@ -15865,7 +15865,7 @@ public class PhotoViewer implements NotificationCenter.NotificationCenterDelegat
|
|||
}
|
||||
}
|
||||
if (currentEditMode == EDIT_MODE_PAINT) {
|
||||
photoPaintView.setTransform(currentScale, currentTranslationX, currentTranslationY, bitmapWidth * scaleToFitX, bitmapHeight * scaleToFitX);
|
||||
photoPaintView.setTransform(currentScale, currentTranslationX, currentTranslationY + (sendPhotoType == SELECT_TYPE_AVATAR ? AndroidUtilities.statusBarHeight / 2f : 0) * photoPaintView.getRenderView().getScaleX(), bitmapWidth * scaleToFitX, bitmapHeight * scaleToFitX);
|
||||
}
|
||||
|
||||
if (drawCenterImage) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue