Commit e20ec39b authored by Ian Hickson's avatar Ian Hickson

Merge pull request #1195 from Hixie/raised-button

Fixed the RaisedButton shadow issue
parents a2f7bb73 ac616df0
...@@ -61,8 +61,9 @@ class _InkResponseState<T extends InkResponse> extends State<T> { ...@@ -61,8 +61,9 @@ class _InkResponseState<T extends InkResponse> extends State<T> {
} else { } else {
_lastHighlight.deactivate(); _lastHighlight.deactivate();
} }
assert(value == (_lastHighlight != null && _lastHighlight.active));
if (config.onHighlightChanged != null) if (config.onHighlightChanged != null)
config.onHighlightChanged(value != null); config.onHighlightChanged(value);
} }
......
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