mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-01 06:07:41 +00:00
Fix warnings
This commit is contained in:
@@ -97,6 +97,7 @@
|
||||
case kRNSVGTextAnchorEnd:
|
||||
x = -width;
|
||||
break;
|
||||
default: ;
|
||||
}
|
||||
|
||||
return CGAffineTransformMakeTranslation(x, 0);
|
||||
@@ -125,7 +126,7 @@
|
||||
//todo: throw exception here
|
||||
break;
|
||||
}
|
||||
_textRoot = [_textRoot superview];
|
||||
_textRoot = (RNSVGText*)[_textRoot superview];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user