Index: sky/framework/components/material.dart |
diff --git a/sky/framework/components/material.dart b/sky/framework/components/material.dart |
index b335785eae72cefa58b1a08c75d28a4a41760b13..245394cae6c05413e4b26a4f93d1417e713dc317 100644 |
--- a/sky/framework/components/material.dart |
+++ b/sky/framework/components/material.dart |
@@ -29,10 +29,8 @@ class Material extends Component { |
this.level: 0 }) : super(key: key); |
Node build() { |
- return new InkWell( |
- style: level > 0 ? style.extend(shadowStyle[level]) : style, |
- inlineStyle: inlineStyle, |
- children: children |
- ); |
+ return new StyleNode( |
+ new InkWell(inlineStyle: inlineStyle, children: children), |
+ level > 0 ? style.extend(shadowStyle[level]) : style); |
rafaelw
2015/03/25 16:56:01
indent
abarth-chromium
2015/03/25 17:43:53
This gets removed in a later CL, so I'm going to l
|
} |
} |