run hitTest only if necessary

This commit is contained in:
Horcrux
2016-05-18 20:15:29 +08:00
parent bf5d6c8a8b
commit f34c0c209a
10 changed files with 51 additions and 7 deletions
-1
View File
@@ -22,7 +22,6 @@ class Ellipse extends Component{
render() {
let props = mergeContext(this.props, this.context);
console.log(props);
return <RNSVGEllipse
{...extractProps(props)}
cx={props.cx.toString()}