Fix warnings

This commit is contained in:
Horcrux
2017-01-22 19:45:50 +08:00
parent 3765e52c67
commit 1db96aaa07
8 changed files with 29 additions and 36 deletions
+2 -1
View File
@@ -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];
}
}