contentShape 추가

This commit is contained in:
Yu Sung
2023-09-14 12:50:58 +09:00
parent b2f0975ad1
commit 5b0cb44645
2 changed files with 6 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ struct LiveRoomTopCreatorView: View {
.scaledToFill()
.frame(width: 33.3, height: 33.3)
.clipShape(Circle())
.contentShape(Circle())
.onTapGesture { onClickProfile() }
Image("ic_crown")
@@ -37,6 +38,7 @@ struct LiveRoomTopCreatorView: View {
if creatorId != UserDefaults.int(forKey: .userId) {
Image(isFollowing ? "btn_following" : "btn_follow")
.contentShape(Rectangle())
.onTapGesture { onClickFollow(isFollowing) }
}
}