From 775530ff0659bdffdc07d407eedf35defc889ad8 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 10 Oct 2015 00:57:03 +0000 Subject: [PATCH] update website --- docs/panresponder.html | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/panresponder.html b/docs/panresponder.html index bea59a9d78b..1313846b3a1 100644 --- a/docs/panresponder.html +++ b/docs/panresponder.html @@ -96,8 +96,10 @@ are the responder.

this._previousLeft = 20; this._previousTop = 84; this._circleStyles = { - left: this._previousLeft, - top: this._previousTop, + style: { + left: this._previousLeft, + top: this._previousTop + } }; }, @@ -122,13 +124,17 @@ are the responder.

: function() { this.circle && this.circle.setNativeProps({ - backgroundColor: processColor(CIRCLE_HIGHLIGHT_COLOR) + style: { + backgroundColor: processColor(CIRCLE_HIGHLIGHT_COLOR) + } }); }, _unHighlight: function() { this.circle && this.circle.setNativeProps({ - backgroundColor: processColor(CIRCLE_COLOR) + style: { + backgroundColor: processColor(CIRCLE_COLOR) + } }); }, @@ -150,8 +156,8 @@ are the responder.

this._highlight(); }, _handlePanResponderMove: function(e: Object, gestureState: Object) { - this._circleStyles.left = this._previousLeft + gestureState.dx; - this._circleStyles.top = this._previousTop + gestureState.dy; + this._circleStyles.style.left = this._previousLeft + gestureState.dx; + this._circleStyles.style.top = this._previousTop + gestureState.dy; this._updatePosition(); }, _handlePanResponderEnd: function(e: Object, gestureState: Object) {