We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60ebf5d commit 4598ccaCopy full SHA for 4598cca
1 file changed
Sources/Extension/UIKit/UITextViewExtension.swift
@@ -451,7 +451,7 @@ private class AttachmentView: UIView {
451
let ratio = view.bounds.width / view.bounds.height
452
view.transform = .init(
453
scaleX: bounds.width / view.bounds.width,
454
- y: bounds.width / view.bounds.width / ratio
+ y: bounds.width / ratio / view.bounds.height
455
)
456
457
case .custom(let size):
0 commit comments