Skip to content

Commit 834b829

Browse files
authored
Merge pull request #170 from TaskarCenterAtUW/feature-resize-annotation-popover
Resize annotation popover
2 parents 1713cc6 + 206a44a commit 834b829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GoInfoGame/GoInfoGame/UI/Map/MapView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,19 +128,19 @@ struct MapView: View {
128128
showPopover = false
129129
shouldShowPolyline = false
130130
}
131-
.padding()
132131

133132
Button("Answer Quest") {
134133
showPopover = false
135134
isPresented = true
136135
}
137136
.padding()
138137
}
138+
.padding([.top], 50)
139139
.frame(maxHeight: 50)
140140
.onAppear {
141141
shouldShowPolyline = true
142142
}
143-
.presentationDetents([.fraction(0.5)])
143+
.presentationDetents([.fraction(0.2)])
144144
}
145145
.onChange(of: showPopover) { newValue in
146146
if !newValue {

0 commit comments

Comments
 (0)