Open source CapCut alternative.
TypeScript
fix(ios): the prompter button keeps the script within reach mid-take
David Le2e31cc22bc51
diff --git a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/CameraScreen.swift b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/CameraScreen.swiftindex 7a4dd2e0..151dd9db 100644--- a/apps/ios/DonkeyKit/Sources/DonkeyKitUI/CameraScreen.swift+++ b/apps/ios/DonkeyKit/Sources/DonkeyKitUI/CameraScreen.swift@@ -201,7 +201,13 @@ struct CameraScreen<CameraPreview: View>: View {}Button {- if camera.teleprompter.isCardShown {+ if camera.isRecording {+ // Mid-take the card stays away, so the button is the+ // script's own switch: it leaves the picture and comes+ // back where the pacing has reached, and the take never+ // pauses for either.+ camera.teleprompter.isRunning.toggle()+ } else if camera.teleprompter.isCardShown {camera.dismissTeleprompter()} else {// A running script comes back to the card to be