fix: Also exposure

This commit is contained in:
Marc Rousavy 2023-11-19 15:51:33 +01:00
parent 73b9efb94b
commit ba0aa88cb9
No known key found for this signature in database
GPG Key ID: 83BEF0F19E8F5321

View File

@ -95,10 +95,10 @@ class CameraConfiguration {
/**
Returns `true` when props that affect the AVCaptureDevice configuration (i.e. props that require lockForConfiguration()) have changed.
[`formatChanged`, `sidePropsChanged`, `zoomChanged`]
[`formatChanged`, `sidePropsChanged`, `zoomChanged`, `exposureChanged`]
*/
var isDeviceConfigurationDirty: Bool {
return isSessionConfigurationDirty || formatChanged || sidePropsChanged || zoomChanged
return isSessionConfigurationDirty || formatChanged || sidePropsChanged || zoomChanged || exposureChanged
}
init(between left: CameraConfiguration?, and right: CameraConfiguration) {