Alternative approach without TextureView.

This commit is contained in:
Mikael Sand
2018-03-18 22:39:44 +02:00
parent 7deabf8287
commit 0eb501d5e8
15 changed files with 90 additions and 136 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ export default class extends Shape {
{...extractProps({...props, x: null, y: null}, this)}
x={props.x.toString()}
y={props.y.toString()}
width={props.width.toString()}
height={props.height.toString()}
imagewidth={props.width.toString()}
imageheight={props.height.toString()}
meetOrSlice={meetOrSlice}
align={align}
src={resolveAssetSource(props.href)}