Commit 568c8f37 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau Committed by GitHub

Merge pull request #109 from doubleqliq/master

Updating the animated surface for RN 0.33
parents d02889f3 706d2f5d
......@@ -55,7 +55,7 @@ module.exports = {
AnimatedSurface: makeSurface({
View: Animated.View,
GLCanvas: Animated.createAnimatedComponent(GLCanvas),
getGLCanvas: glSurface => glSurface.refs.canvas.refs.node,
getGLCanvas: glSurface => glSurface.refs.canvas.refs._component,
dimensionInvariant: (value, field) =>
invariant(
isAnimated(value) || typeof value === "number" && value > 0,
......
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