Skip to content

Commit

Permalink
修复:音频播放按钮的图片被拉伸
Browse files Browse the repository at this point in the history
  • Loading branch information
rztime committed Oct 8, 2023
1 parent 1fdd5f4 commit 385ca73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RZRichTextView/Classes/RZAttachmentInfoLayerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ open class RZAttachmentInfoLayerView: UIView, RZAttachmentInfoLayerProtocol {

public override init(frame: CGRect) {
super.init(frame: frame)

audioPlayBtn.imageView?.contentMode = .scaleAspectFit
let stackView = [imageContent, audioContent].qjoined(aixs: .vertical, spacing: 0, align: .fill, distribution: .equalSpacing)
self.qbody([
stackView.qmakeConstraints({ make in
Expand Down

0 comments on commit 385ca73

Please sign in to comment.