native prop trans => matrix

This commit is contained in:
Horcrux
2016-07-27 15:54:45 +08:00
parent ce33cca89d
commit 92ea884d6f
9 changed files with 20 additions and 25 deletions

View File

@@ -46,9 +46,9 @@ export default function(props, options = {stroke: true, transform: true, fill: t
}
if (options.transform) {
extractedProps.trans = extractTransform(props);
extractedProps.matrix = extractTransform(props);
} else if (props.transform) {
extractedProps.trans = extractTransform(props.transform);
extractedProps.matrix = extractTransform(props.transform);
}
if (options.responder) {