|
@@ -65,6 +65,7 @@ abstract class TopMeasureItem<T extends MeasureItemFeature>
|
|
@override
|
|
@override
|
|
void switchChild(int index) {
|
|
void switchChild(int index) {
|
|
if (index == _childIndex) return;
|
|
if (index == _childIndex) return;
|
|
|
|
+ workingChild.finishOnce();
|
|
_childIndex = index;
|
|
_childIndex = index;
|
|
if (workingChild.measuredFeatures.isNotEmpty) {
|
|
if (workingChild.measuredFeatures.isNotEmpty) {
|
|
isNeedRedraw = true;
|
|
isNeedRedraw = true;
|