parent
4d2bb35808
commit
c530caa92b
|
@ -334,8 +334,8 @@ struct LiveRoomViewV2: View {
|
||||||
if viewModel.isShowMenuPan {
|
if viewModel.isShowMenuPan {
|
||||||
VStack(alignment: .leading, spacing: 0) {
|
VStack(alignment: .leading, spacing: 0) {
|
||||||
Image("ic_notice_triangle")
|
Image("ic_notice_triangle")
|
||||||
.padding(.leading, 60)
|
|
||||||
ScrollView(.vertical, showsIndicators: false) {
|
ScrollView(.vertical) {
|
||||||
VStack(alignment: .leading, spacing: 8) {
|
VStack(alignment: .leading, spacing: 8) {
|
||||||
Text("[메뉴판]")
|
Text("[메뉴판]")
|
||||||
.font(.custom(Font.bold.rawValue, size: 11.3))
|
.font(.custom(Font.bold.rawValue, size: 11.3))
|
||||||
|
@ -349,16 +349,16 @@ struct LiveRoomViewV2: View {
|
||||||
.background(GeometryReader { geometry in
|
.background(GeometryReader { geometry in
|
||||||
Color.clear.preference(key: TextViewHeightKey.self, value: geometry.size.height)
|
Color.clear.preference(key: TextViewHeightKey.self, value: geometry.size.height)
|
||||||
})
|
})
|
||||||
}
|
|
||||||
.padding(8)
|
.padding(8)
|
||||||
|
}
|
||||||
.background(Color.gray33)
|
.background(Color.gray33)
|
||||||
.padding(.horizontal, 60)
|
.frame(height: menuTextHeight > 500 ? 500 : menuTextHeight)
|
||||||
.frame(maxWidth: 350)
|
|
||||||
.frame(height: menuTextHeight > 500 ? 500 : menuTextHeight, alignment: .topLeading)
|
|
||||||
.onPreferenceChange(TextViewHeightKey.self) { value in
|
.onPreferenceChange(TextViewHeightKey.self) { value in
|
||||||
menuTextHeight = value + 15
|
menuTextHeight = value + 15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.frame(maxWidth: 350, alignment: .leading)
|
||||||
|
.padding(.leading, 60)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue