Commit 11974318 authored by Hans Muller's avatar Hans Muller

Merge pull request #3017 from flutter/tabs

Tab updates
parents febfdf69 3098abf7
......@@ -502,8 +502,7 @@ class TabBarSelectionState<T> extends State<TabBarSelection<T>> {
void set value(T newValue) {
if (newValue == _value)
return;
if (!_valueIsChanging)
_previousValue = _value;
_previousValue = _value;
_value = newValue;
_writeValue();
_valueIsChanging = true;
......@@ -779,6 +778,7 @@ class _TabBarState<T> extends ScrollableState<TabBar<T>> implements TabBarSelect
setState(() {
_tabBarSize = tabBarSize;
_tabWidths = tabWidths;
_indicatorRect = _tabIndicatorRect(_selection.index);
_updateScrollBehavior();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment