Skip to content

Commit 4598cca

Browse files
committed
.
1 parent 60ebf5d commit 4598cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Extension/UIKit/UITextViewExtension.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ private class AttachmentView: UIView {
451451
let ratio = view.bounds.width / view.bounds.height
452452
view.transform = .init(
453453
scaleX: bounds.width / view.bounds.width,
454-
y: bounds.width / view.bounds.width / ratio
454+
y: bounds.width / ratio / view.bounds.height
455455
)
456456

457457
case .custom(let size):

0 commit comments

Comments
 (0)