Add preserveAspectRatio prop for Image

Add preserveAspectRatio prop for Image.
Fix touch events for Image on Android.
Fix viewBox slice bug on Android.
This commit is contained in:
Horcrux
2016-08-13 14:03:08 +08:00
parent a4c0c60b7f
commit d1afb78da0
20 changed files with 251 additions and 42 deletions

View File

@@ -160,7 +160,9 @@ const ImageAttributes = merge({
y: true,
width: true,
height: true,
src: true
src: true,
align: true,
meetOrSlice: true
}, RenderableAttributes);
const LineAttributes = merge({