Skip to content

Commit b6baa62

Browse files
committed
fix: another gesture workaround for iOS 26
1 parent 22db5c2 commit b6baa62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeApp/Views/PanelView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ struct PanelView: View {
160160
DragGesture(minimumDistance: 10.0, coordinateSpace: .global)
161161
.updating($translation) { value, gestureState, transaction in
162162
let proposedNewHeight =
163-
panelHeight - value.translation.height + (gestureState ?? 0)
163+
panelHeight - value.translation.height + (translation ?? 0)
164164
evaluateProposedHeight(proposal: proposedNewHeight)
165165
gestureState = value.translation.height
166166
}

0 commit comments

Comments
 (0)