룰렛 설정 - 키보드 높이 만큼 상단으로 하단 영역 추가

This commit is contained in:
Yu Sung 2023-12-07 11:44:21 +09:00
parent 7ab21a1dd8
commit 160888c5f4
1 changed files with 4 additions and 0 deletions

View File

@ -143,6 +143,10 @@ struct RouletteSettingsView: View {
.background(Color(hex: "222222")) .background(Color(hex: "222222"))
.cornerRadius(16.7, corners: [.topLeft, .topRight]) .cornerRadius(16.7, corners: [.topLeft, .topRight])
Rectangle()
.foregroundColor(Color(hex: "222222"))
.frame(width: screenSize().width, height: keyboardHandler.keyboardHeight)
if proxy.safeAreaInsets.bottom > 0 { if proxy.safeAreaInsets.bottom > 0 {
Rectangle() Rectangle()
.foregroundColor(Color(hex: "222222")) .foregroundColor(Color(hex: "222222"))