From dc02711d8217a9956c7009c6a5d1de325c3620f2 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62367544+tilucasoli@users.noreply.github.com> Date: Wed, 24 Jul 2024 16:03:25 -0300 Subject: [PATCH] Revert "Update align_widget_modifier.dart" This reverts commit b66af029852636b89d919d8d4b46d5c99a6d01c1. --- packages/mix/lib/src/modifiers/align_widget_modifier.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mix/lib/src/modifiers/align_widget_modifier.dart b/packages/mix/lib/src/modifiers/align_widget_modifier.dart index 02e5dd4cc..83e8c3bc4 100644 --- a/packages/mix/lib/src/modifiers/align_widget_modifier.dart +++ b/packages/mix/lib/src/modifiers/align_widget_modifier.dart @@ -25,9 +25,9 @@ final class AlignModifierSpec extends WidgetModifierSpec { @override AlignModifierSpec lerp(AlignModifierSpec? other, double t) { return AlignModifierSpec( + alignment: AlignmentGeometry.lerp(alignment, other?.alignment, t), widthFactor: lerpDouble(widthFactor, other?.widthFactor, t), heightFactor: lerpDouble(heightFactor, other?.heightFactor, t), - alignment: AlignmentGeometry.lerp(alignment, other?.alignment, t), ); }