We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22db5c2 commit b6baa62Copy full SHA for b6baa62
CodeApp/Views/PanelView.swift
@@ -160,7 +160,7 @@ struct PanelView: View {
160
DragGesture(minimumDistance: 10.0, coordinateSpace: .global)
161
.updating($translation) { value, gestureState, transaction in
162
let proposedNewHeight =
163
- panelHeight - value.translation.height + (gestureState ?? 0)
+ panelHeight - value.translation.height + (translation ?? 0)
164
evaluateProposedHeight(proposal: proposedNewHeight)
165
gestureState = value.translation.height
166
}
0 commit comments