Skip to content

Commit

Permalink
Merge pull request #931 from wakmusic/899-music-detail-flow-label
Browse files Browse the repository at this point in the history
πŸ”€  :: (#899) μŒμ•… 상세 νŽ˜μ΄μ§€ μŒμ•… 제λͺ©, μ•„ν‹°μŠ€νŠΈ WMLabel -> WMFlowLabel μ „ν™˜
  • Loading branch information
baekteun authored Aug 1, 2024
2 parents 2b74566 + 4cfb85c commit 0d6c31a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ private protocol MusicControlActionProtocol {
}

final class MusicControlView: UIView {
private let titleLabel: WMLabel = WMLabel(
private let titleLabel: WMFlowLabel = WMFlowLabel(
text: "",
textColor: DesignSystemAsset.BlueGrayColor.gray25.color,
font: .t4(weight: .medium)
)
private let artistLabel: WMLabel = WMLabel(
private let artistLabel: WMFlowLabel = WMFlowLabel(
text: "",
textColor: DesignSystemAsset.BlueGrayColor.gray100.color.withAlphaComponent(0.6),
font: .t5(weight: .medium)
Expand Down Expand Up @@ -128,6 +128,7 @@ private extension MusicControlView {
titleStackView.snp.makeConstraints {
$0.centerX.equalToSuperview()
$0.top.equalToSuperview()
$0.horizontalEdges.equalToSuperview().inset(20)
}

playStackView.snp.makeConstraints {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public final class WMFlowLabel: MarqueeLabel {
font: UIFont.WMFontSystem,
alignment: NSTextAlignment = .left,
lineHeight: CGFloat? = nil,
kernValue: Double? = nil,
kernValue: Double? = -0.5,
lineSpacing: CGFloat? = nil,
lineHeightMultiple: CGFloat? = nil,
leadingBuffer: CGFloat = 0,
Expand Down

0 comments on commit 0d6c31a

Please sign in to comment.