File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/lib/stories/input Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class InteractiveRectangle extends RectangleComponent
9191 paint: Paint ()..color = color,
9292 );
9393
94- bool isScaling = false ;
94+ bool isDoingScaling = false ;
9595 double initialAngle = 0 ;
9696 Vector2 initialScale = Vector2 .all (1 );
9797 double lastScale = 1.0 ;
@@ -137,7 +137,7 @@ class InteractiveRectangle extends RectangleComponent
137137 @override
138138 void onScaleStart (ScaleStartEvent event) {
139139 super .onScaleStart (event);
140- isScaling = true ;
140+ isDoingScaling = true ;
141141 initialAngle = angle;
142142 initialScale = scale;
143143 lastScale = 1.0 ;
@@ -167,7 +167,7 @@ class InteractiveRectangle extends RectangleComponent
167167 @override
168168 void onScaleEnd (ScaleEndEvent event) {
169169 super .onScaleEnd (event);
170- isScaling = false ;
170+ isDoingScaling = false ;
171171 debugPrint ('Scale ended with velocity ${event .velocity }' );
172172 }
173173}
You can’t perform that action at this time.
0 commit comments