mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-08-16 02:44:58 +00:00
fix(android): Image onPress #1170
This commit is contained in:
@@ -136,9 +136,9 @@ class ImageView extends RenderableView {
|
||||
|
||||
@Override
|
||||
Path getPath(Canvas canvas, Paint paint) {
|
||||
Path path = new Path();
|
||||
path.addRect(getRect(), Path.Direction.CW);
|
||||
return path;
|
||||
mPath = new Path();
|
||||
mPath.addRect(getRect(), Path.Direction.CW);
|
||||
return mPath;
|
||||
}
|
||||
|
||||
private void loadBitmap(final ImagePipeline imagePipeline, final ImageRequest request) {
|
||||
|
||||
Reference in New Issue
Block a user