mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 23:10:40 +00:00
typo
This commit is contained in:
parent
df81e13a63
commit
f228cb9df4
1 changed files with 3 additions and 3 deletions
|
@ -168,8 +168,8 @@ class MeteringContainerBuidler extends StatelessWidget {
|
||||||
/// Depending on the `stopType` the exposure pairs list length is multiplied by 1,2 or 3
|
/// Depending on the `stopType` the exposure pairs list length is multiplied by 1,2 or 3
|
||||||
final int evSteps = (ev * (stopType.index + 1)).round();
|
final int evSteps = (ev * (stopType.index + 1)).round();
|
||||||
|
|
||||||
final apertureValues = ApertureValue.whereStopType(stopType);
|
final apertureValues = ApertureValue.values.whereStopType(stopType);
|
||||||
final shutterSpeedValues = ShutterSpeedValue.whereStopType(stopType);
|
final shutterSpeedValues = ShutterSpeedValue.values.whereStopType(stopType);
|
||||||
|
|
||||||
/// Basically we use 1" shutter speed as an anchor point for building the exposure pairs list.
|
/// Basically we use 1" shutter speed as an anchor point for building the exposure pairs list.
|
||||||
/// But user can exclude this value from the list using custom equipment profile.
|
/// But user can exclude this value from the list using custom equipment profile.
|
||||||
|
@ -177,7 +177,7 @@ class MeteringContainerBuidler extends StatelessWidget {
|
||||||
const anchorShutterSpeed = ShutterSpeedValue(1, false, StopType.full);
|
const anchorShutterSpeed = ShutterSpeedValue(1, false, StopType.full);
|
||||||
int anchorIndex = shutterSpeedValues.indexOf(anchorShutterSpeed);
|
int anchorIndex = shutterSpeedValues.indexOf(anchorShutterSpeed);
|
||||||
if (anchorIndex < 0) {
|
if (anchorIndex < 0) {
|
||||||
final filteredFullList = ShutterSpeedValue.whereStopType(stopType);
|
final filteredFullList = ShutterSpeedValue.values.whereStopType(stopType);
|
||||||
final customListStartIndex = filteredFullList.indexOf(shutterSpeedValues.first);
|
final customListStartIndex = filteredFullList.indexOf(shutterSpeedValues.first);
|
||||||
final fullListAnchor = filteredFullList.indexOf(anchorShutterSpeed);
|
final fullListAnchor = filteredFullList.indexOf(anchorShutterSpeed);
|
||||||
if (customListStartIndex < fullListAnchor) {
|
if (customListStartIndex < fullListAnchor) {
|
||||||
|
|
Loading…
Reference in a new issue