Open source CapCut alternative.
TypeScript
fix(app): exclude window shadows from screen recordings [rebuild]
David Le53f9c670db22
diff --git a/apps/Donkey/Sources/DonkeyRuntime/SCRecordingScreenRecorder.swift b/apps/Donkey/Sources/DonkeyRuntime/SCRecordingScreenRecorder.swiftindex 036a9550..887f757a 100644--- a/apps/Donkey/Sources/DonkeyRuntime/SCRecordingScreenRecorder.swift+++ b/apps/Donkey/Sources/DonkeyRuntime/SCRecordingScreenRecorder.swift@@ -46,6 +46,7 @@ public final class SCRecordingScreenRecorder: ScreenRecording {streamConfig.width = Self.evenPixels(capturePoints.width, scale: scale)streamConfig.height = Self.evenPixels(capturePoints.height, scale: scale)streamConfig.scalesToFit = false+ streamConfig.ignoreShadowsSingleWindow = true// System audio (default on) — never record our own UI sounds.streamConfig.capturesAudio = configuration.capturesSystemAudio