Skip to content

Commit

Permalink
Merge pull request #1157 from wakmusic/1156-artist-click-not-working
Browse files Browse the repository at this point in the history
πŸ”€ :: (#1156) μ•„ν‹°μŠ€νŠΈ 선택이 μ•ˆλ¨
  • Loading branch information
KangTaeHoon authored Aug 15, 2024
2 parents f205589 + be315b7 commit 87f6ffb
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ public final class ArtistViewController:
#endif
}
.disposed(by: disposeBag)

collectionView.rx.didScroll
.bind(with: self) { owner, _ in
let offsetY: CGFloat = owner.collectionView.contentOffset.y + STATUS_BAR_HEGHIT()
owner.translucentView.alpha = min(max(offsetY / owner.translucentView.frame.height, 0), 1)
}
.disposed(by: disposeBag)
}

private func bindState(reactor: ArtistReactor) {
Expand Down

0 comments on commit 87f6ffb

Please sign in to comment.