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