Commit 354af388 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau

Fix image load

parent 9373cdaf
......@@ -19,7 +19,7 @@ const Tests = React.createClass({
<HelloGL width={64} height={64} />;
const txt =
<View style={{ width: 800, height: 800, position: "relative" }}>
<View style={{ width: 800, height: 800, position: "relative", backgroundColor: "transparent" }}>
{[0,1,2,3].map(i => <Text style={{
position: "absolute",
top: 40+200*i,
......
......@@ -144,7 +144,7 @@ NSString* srcResource (id res)
}
if (image == nil) {
image = [[GLImage alloc] initWithBridge:_bridge withOnLoad:^{
[self setNeedsDisplay];
[self requestSyncData];
}];
image.src = src;
images[src] = image;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment