라이브방 - 메뉴판 위치
- 메뉴판 버튼 에서 벗어나던 버그 수정
This commit is contained in:
		| @@ -334,8 +334,8 @@ struct LiveRoomViewV2: View { | ||||
|                         if viewModel.isShowMenuPan { | ||||
|                             VStack(alignment: .leading, spacing: 0) { | ||||
|                                 Image("ic_notice_triangle") | ||||
|                                     .padding(.leading, 60) | ||||
|                                 ScrollView(.vertical, showsIndicators: false) { | ||||
|  | ||||
|                                 ScrollView(.vertical) { | ||||
|                                     VStack(alignment: .leading, spacing: 8) { | ||||
|                                         Text("[메뉴판]") | ||||
|                                             .font(.custom(Font.bold.rawValue, size: 11.3)) | ||||
| @@ -349,16 +349,16 @@ struct LiveRoomViewV2: View { | ||||
|                                     .background(GeometryReader { geometry in | ||||
|                                         Color.clear.preference(key: TextViewHeightKey.self, value: geometry.size.height) | ||||
|                                     }) | ||||
|                                     .padding(8) | ||||
|                                 } | ||||
|                                 .padding(8) | ||||
|                                 .background(Color.gray33) | ||||
|                                 .padding(.horizontal, 60) | ||||
|                                 .frame(maxWidth: 350) | ||||
|                                 .frame(height: menuTextHeight > 500 ? 500 : menuTextHeight, alignment: .topLeading) | ||||
|                                 .frame(height: menuTextHeight > 500 ? 500 : menuTextHeight) | ||||
|                                 .onPreferenceChange(TextViewHeightKey.self) { value in | ||||
|                                     menuTextHeight = value + 15 | ||||
|                                 } | ||||
|                             } | ||||
|                             .frame(maxWidth: 350, alignment: .leading) | ||||
|                             .padding(.leading, 60) | ||||
|                         } | ||||
|                     } | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung