diff --git a/lib/src/custom_layout.dart b/lib/src/custom_layout.dart index 8ce77f2..94bce05 100644 --- a/lib/src/custom_layout.dart +++ b/lib/src/custom_layout.dart @@ -235,7 +235,8 @@ abstract class _CustomLayoutStateBase extends State if (value < 0.5) { value = 0.5; } - } else if (_currentIndex <= 0) { + } + if (_currentIndex <= 0) { if (value > 0.5) { value = 0.5; }