라이브 배경이미지 - 가운데 정렬
This commit is contained in:
parent
a1f9d0d29c
commit
5437cb07aa
|
@ -114,12 +114,12 @@ struct LiveRoomViewV2: View {
|
||||||
|
|
||||||
ScrollViewReader { proxy in
|
ScrollViewReader { proxy in
|
||||||
ZStack(alignment: .bottom) {
|
ZStack(alignment: .bottom) {
|
||||||
ZStack(alignment: .top) {
|
ZStack {
|
||||||
if viewModel.isBgOn {
|
if viewModel.isBgOn {
|
||||||
KFImage(URL(string: liveRoomInfo.coverImageUrl))
|
KFImage(URL(string: liveRoomInfo.coverImageUrl))
|
||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFit()
|
.scaledToFit()
|
||||||
.frame(maxWidth: .infinity)
|
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle()
|
Rectangle()
|
||||||
|
|
Loading…
Reference in New Issue