Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gl-react-native-v2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
gl-react-native-v2
Commits
a8384035
Commit
a8384035
authored
Sep 09, 2015
by
Gaëtan Renaudeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix infinite recursion bug with local image
parent
2495cadc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
RNGL/GLImage.m
RNGL/GLImage.m
+2
-1
No files found.
RNGL/GLImage.m
View file @
a8384035
...
...
@@ -79,8 +79,9 @@ RCT_NOT_IMPLEMENTED(-init)
// Load the image (without resizing it)
if
(
!
[
_src
hasPrefix
:
@"http://"
]
&&
!
[
_src
hasPrefix
:
@"https://"
])
{
// N.B: in this case we don't trigger onload because image is already loaded.
// this behavior is specific to GLCanvas needs
self
.
image
=
[
UIImage
imageNamed
:
_src
];
if
(
_onload
)
_onload
();
}
else
{
_loading
=
[
_bridge
.
imageLoader
loadImageWithTag
:
_src
size:
CGSizeZero
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment