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
2c41c901
Commit
2c41c901
authored
Sep 15, 2016
by
Gaëtan Renaudeau
Committed by
GitHub
Sep 15, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #111 from doubleqliq/master
This now works for animated surfaces
parents
568c8f37
a2e5ecf3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/index.js
src/index.js
+1
-1
No files found.
src/index.js
View file @
2c41c901
...
@@ -55,7 +55,7 @@ module.exports = {
...
@@ -55,7 +55,7 @@ module.exports = {
AnimatedSurface
:
makeSurface
({
AnimatedSurface
:
makeSurface
({
View
:
Animated
.
View
,
View
:
Animated
.
View
,
GLCanvas
:
Animated
.
createAnimatedComponent
(
GLCanvas
),
GLCanvas
:
Animated
.
createAnimatedComponent
(
GLCanvas
),
getGLCanvas
:
glSurface
=>
glSurface
.
refs
.
canvas
.
refs
.
_component
,
getGLCanvas
:
glSurface
=>
glSurface
.
refs
.
canvas
.
_component
,
dimensionInvariant
:
(
value
,
field
)
=>
dimensionInvariant
:
(
value
,
field
)
=>
invariant
(
invariant
(
isAnimated
(
value
)
||
typeof
value
===
"
number
"
&&
value
>
0
,
isAnimated
(
value
)
||
typeof
value
===
"
number
"
&&
value
>
0
,
...
...
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