import SwiftUI extension View { /// Lets a one-finger horizontal drag drive the session's turn-over or rotate step: a rightward /// drag across the model's on-screen width turns it fully, a leftward drag turns it back, and /// the step completes when the finger lifts at t = 1. Releasing below 1 leaves it where it is. func reorientGesture(_ session: FoldSession) -> some View { modifier(StepDragGesture(session: session, kinds: [.turnOver, .rotate], begin: session.beginReorientDrag)) } }