mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-09-18 12:36:42 +00:00
allow to hide pinhole shutter speed
This commit is contained in:
parent
c40354c62b
commit
56ab8aa85a
3 changed files with 32 additions and 29 deletions
|
@ -126,11 +126,13 @@ class CameraContainer extends StatelessWidget {
|
||||||
enabledFeaturesHeight += Dimens.readingContainerSingleValueHeight;
|
enabledFeaturesHeight += Dimens.readingContainerSingleValueHeight;
|
||||||
enabledFeaturesHeight += Dimens.paddingS;
|
enabledFeaturesHeight += Dimens.paddingS;
|
||||||
}
|
}
|
||||||
|
if (context.meteringFeature(MeteringScreenLayoutFeature.extremeExposurePairs)) {
|
||||||
if (EquipmentProfiles.selectedOf(context) is PinholeEquipmentProfile) {
|
if (EquipmentProfiles.selectedOf(context) is PinholeEquipmentProfile) {
|
||||||
enabledFeaturesHeight += Dimens.readingContainerSingleValueHeight;
|
enabledFeaturesHeight += Dimens.readingContainerSingleValueHeight;
|
||||||
enabledFeaturesHeight += Dimens.paddingS;
|
} else {
|
||||||
} else if (context.meteringFeature(MeteringScreenLayoutFeature.extremeExposurePairs)) {
|
|
||||||
enabledFeaturesHeight += Dimens.readingContainerDoubleValueHeight;
|
enabledFeaturesHeight += Dimens.readingContainerDoubleValueHeight;
|
||||||
|
}
|
||||||
|
|
||||||
enabledFeaturesHeight += Dimens.paddingS;
|
enabledFeaturesHeight += Dimens.paddingS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,7 @@ class ExposurePairsList extends StatelessWidget {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (exposurePairs.length > 1)
|
||||||
Positioned(
|
Positioned(
|
||||||
top: 0,
|
top: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
|
|
|
@ -46,10 +46,10 @@ class ReadingsContainer extends StatelessWidget {
|
||||||
const EquipmentProfilePicker(),
|
const EquipmentProfilePicker(),
|
||||||
const _InnerPadding(),
|
const _InnerPadding(),
|
||||||
],
|
],
|
||||||
if (EquipmentProfiles.selectedOf(context) is PinholeEquipmentProfile) ...[
|
if (context.meteringFeature(MeteringScreenLayoutFeature.extremeExposurePairs)) ...[
|
||||||
ShutterSpeedContainer(shutterSpeedValue: fastest?.shutterSpeed),
|
if (EquipmentProfiles.selectedOf(context) is PinholeEquipmentProfile)
|
||||||
const _InnerPadding(),
|
ShutterSpeedContainer(shutterSpeedValue: fastest?.shutterSpeed)
|
||||||
] else if (context.meteringFeature(MeteringScreenLayoutFeature.extremeExposurePairs)) ...[
|
else
|
||||||
ExtremeExposurePairsContainer(
|
ExtremeExposurePairsContainer(
|
||||||
fastest: fastest,
|
fastest: fastest,
|
||||||
slowest: slowest,
|
slowest: slowest,
|
||||||
|
|
Loading…
Reference in a new issue