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
609549c9
Commit
609549c9
authored
Dec 28, 2015
by
Gaëtan Renaudeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
107e6aaf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
ios/GLCanvas.m
ios/GLCanvas.m
+7
-2
No files found.
ios/GLCanvas.m
View file @
609549c9
...
@@ -112,7 +112,12 @@ RCT_NOT_IMPLEMENTED(-init)
...
@@ -112,7 +112,12 @@ RCT_NOT_IMPLEMENTED(-init)
-
(
void
)
setAutoRedraw
:(
BOOL
)
autoRedraw
-
(
void
)
setAutoRedraw
:(
BOOL
)
autoRedraw
{
{
_autoRedraw
=
autoRedraw
;
_autoRedraw
=
autoRedraw
;
if
(
autoRedraw
)
{
[
self
performSelectorOnMainThread
:
@selector
(
syncAutoRedraw
)
withObject
:
nil
waitUntilDone
:
false
];
}
-
(
void
)
syncAutoRedraw
{
if
(
_autoRedraw
)
{
if
(
!
animationTimer
)
if
(
!
animationTimer
)
animationTimer
=
animationTimer
=
[
NSTimer
scheduledTimerWithTimeInterval
:
1
.
0
/
60
.
0
[
NSTimer
scheduledTimerWithTimeInterval
:
1
.
0
/
60
.
0
...
@@ -304,7 +309,7 @@ RCT_NOT_IMPLEMENTED(-init)
...
@@ -304,7 +309,7 @@ RCT_NOT_IMPLEMENTED(-init)
}
else
{
}
else
{
imgData
=
nil
;
imgData
=
nil
;
}
}
contentData
[
i
]
=
imgData
;
if
(
imgData
)
contentData
[
i
]
=
imgData
;
}
}
_contentData
=
contentData
;
_contentData
=
contentData
;
_deferredRendering
=
false
;
_deferredRendering
=
false
;
...
...
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