Merge pull request #1195 from Hixie/raised-button

Fixed the RaisedButton shadow issue
This commit is contained in:
Ian Hickson
2016-01-11 22:23:23 -08:00

View File

@@ -61,8 +61,9 @@ class _InkResponseState<T extends InkResponse> extends State<T> {
} else {
_lastHighlight.deactivate();
}
assert(value == (_lastHighlight != null && _lastHighlight.active));
if (config.onHighlightChanged != null)
config.onHighlightChanged(value != null);
config.onHighlightChanged(value);
}