fix: Also exposure
This commit is contained in:
parent
73b9efb94b
commit
ba0aa88cb9
@ -95,10 +95,10 @@ class CameraConfiguration {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Returns `true` when props that affect the AVCaptureDevice configuration (i.e. props that require lockForConfiguration()) have changed.
|
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 {
|
var isDeviceConfigurationDirty: Bool {
|
||||||
return isSessionConfigurationDirty || formatChanged || sidePropsChanged || zoomChanged
|
return isSessionConfigurationDirty || formatChanged || sidePropsChanged || zoomChanged || exposureChanged
|
||||||
}
|
}
|
||||||
|
|
||||||
init(between left: CameraConfiguration?, and right: CameraConfiguration) {
|
init(between left: CameraConfiguration?, and right: CameraConfiguration) {
|
||||||
|
Loading…
Reference in New Issue
Block a user