mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-02 14:50:43 +00:00
Fix extractTransform not to interpret text rotate attribute and transform rotation
This commit is contained in:
@@ -161,7 +161,7 @@ export function props2transform(props) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
rotation: +props.rotation || +props.rotate || 0,
|
rotation: +props.rotation || 0,
|
||||||
scaleX: scaleX,
|
scaleX: scaleX,
|
||||||
scaleY: scaleY,
|
scaleY: scaleY,
|
||||||
originX: originX,
|
originX: originX,
|
||||||
|
|||||||
Reference in New Issue
Block a user