Commit 2c41c901 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau Committed by GitHub

Merge pull request #111 from doubleqliq/master

This now works for animated surfaces
parents 568c8f37 a2e5ecf3
......@@ -55,7 +55,7 @@ module.exports = {
AnimatedSurface: makeSurface({
View: Animated.View,
GLCanvas: Animated.createAnimatedComponent(GLCanvas),
getGLCanvas: glSurface => glSurface.refs.canvas.refs._component,
getGLCanvas: glSurface => glSurface.refs.canvas._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