메뉴판 설정

- 배경 터치시 키보드가 숨겨지도록 수정
This commit is contained in:
Yu Sung 2025-04-08 16:12:52 +09:00
parent 33ea2413f5
commit 80a85ebe76
1 changed files with 5 additions and 1 deletions

View File

@ -56,7 +56,7 @@ struct MenuSettingsView: View {
textColorHex: "eeeeee", textColorHex: "eeeeee",
backgroundColorHex: "303030" backgroundColorHex: "303030"
) )
.frame(height: 350) .frame(height: 300)
.cornerRadius(6.7) .cornerRadius(6.7)
.padding(.horizontal, 13.3) .padding(.horizontal, 13.3)
@ -73,11 +73,15 @@ struct MenuSettingsView: View {
Spacer() Spacer()
} }
.edgesIgnoringSafeArea(.bottom)
.onAppear { .onAppear {
viewModel.getAllMenuPreset { viewModel.getAllMenuPreset {
self.isShowing = false self.isShowing = false
} }
} }
.onTapGesture {
hideKeyboard()
}
.popup(isPresented: $viewModel.isShowPopup, type: .toast, position: .bottom, autohideIn: 2) { .popup(isPresented: $viewModel.isShowPopup, type: .toast, position: .bottom, autohideIn: 2) {
HStack { HStack {
Spacer() Spacer()