mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix dimension clipping
This commit is contained in:
parent
bc54ab68f0
commit
2e39b1ccfe
@ -784,9 +784,9 @@ public func legacyAssetPickerEnqueueMessages(context: AccountContext, account: A
|
|||||||
finalDuration = duration
|
finalDuration = duration
|
||||||
}
|
}
|
||||||
|
|
||||||
if !asAnimation {
|
/*if !asAnimation {
|
||||||
finalDimensions = TGFitSize(finalDimensions, CGSize(width: 848.0, height: 848.0))
|
finalDimensions = TGFitSize(finalDimensions, CGSize(width: 848.0, height: 848.0))
|
||||||
}
|
}*/
|
||||||
|
|
||||||
var previewRepresentations: [TelegramMediaImageRepresentation] = []
|
var previewRepresentations: [TelegramMediaImageRepresentation] = []
|
||||||
if let thumbnail = thumbnail {
|
if let thumbnail = thumbnail {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user