ux: bulk WIP — UxPlugin→XPlugin rename + new anim/core/navi/reactive packages
Catch-all commit for outstanding pre-existing local changes. Mixes several themes that would normally be split: - Rename: UxPlugin → XPlugin across iOS, macOS, Android registrants. - New top-level packages under lib/src/: anim/ (animated values, panes, sheets, dock, measured), core/ (Emitter, ReactiveBuilder scaffolding, presenter/widget/value/dispose primitives), navi/ (Screen/ScreenStack/Router/hero/transitions), reactive/. - Edits across existing plugins (clipboard, crash, file, gallery, keyboard, scanner, sensor, url) to align with the new core. - Test updates and CHANGELOG/README touches accompanying the above.
This commit is contained in:
@@ -49,7 +49,7 @@ final class PhotoOutput {
|
||||
// JPEG); macOS is a no-op (desktop cams are physically
|
||||
// landscape, any rotation skews the photo). See
|
||||
// `AVCaptureConnection+iOS.swift` / `…+macOS.swift`.
|
||||
connection.applyUxCaptureOrientation(orientation)
|
||||
connection.applyXCaptureOrientation(orientation)
|
||||
// The recorded photo carries no mirror; mirroring is a
|
||||
// preview-only concern.
|
||||
if connection.isVideoMirroringSupported {
|
||||
@@ -79,7 +79,7 @@ final class PhotoOutput {
|
||||
// snapshot defaults cleanly. No-op on macOS (the
|
||||
// extension method is empty there).
|
||||
self?.avOutput.connection(with: .video)?
|
||||
.applyUxCaptureOrientation(.portraitUp)
|
||||
.applyXCaptureOrientation(.portraitUp)
|
||||
self?.inFlight = nil
|
||||
DispatchQueue.main.async { completion(result) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user