mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix dimension clipping
This commit is contained in:
parent
bc54ab68f0
commit
2e39b1ccfe
1 changed files with 2 additions and 2 deletions
|
|
@ -784,9 +784,9 @@ public func legacyAssetPickerEnqueueMessages(context: AccountContext, account: A
|
|||
finalDuration = duration
|
||||
}
|
||||
|
||||
if !asAnimation {
|
||||
/*if !asAnimation {
|
||||
finalDimensions = TGFitSize(finalDimensions, CGSize(width: 848.0, height: 848.0))
|
||||
}
|
||||
}*/
|
||||
|
||||
var previewRepresentations: [TelegramMediaImageRepresentation] = []
|
||||
if let thumbnail = thumbnail {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue