Skip to content

Commit 48c3395

Browse files
committed
Update ReadMe and removed the unnecessary comment
1 parent 8ea357e commit 48c3395

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ thumbImage | [source](http://facebook.github.io/react-native/docs/ima
9494
debugTouchArea | bool | Yes | false | Set this to true to visually see the thumb touch rect in green.
9595
animateTransitions | bool | Yes | false | Set to true if you want to use the default 'spring' animation
9696
animationType | string | Yes | 'timing' | Set to 'spring' or 'timing' to use one of those two types of animations with the default [animation properties](https://facebook.github.io/react-native/docs/animations.html).
97-
animationConfig | object | Yes | undefined | Used to configure the animation parameters. These are the same parameters in the [Animated library](https://facebook.github.io/react-native/docs/animations.html).
98-
97+
animationConfig | object | Yes | undefined | Used to configure the animation parameters. These are the same parameters in the [Animated library](https://facebook.github.io/react-native/docs/animations.html).
98+
trackClickable | bool | Yes | false | Set to true to update the value whilst clicking the Slider
9999

100100
---
101101

src/Slider.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ export default class Slider extends PureComponent {
321321
};
322322

323323
_handlePanResponderGrant = (e: Object, gestureState: Object) => {
324-
// this._previousLeft = this._getThumbLeft(this._getCurrentValue());
325324
this._previousLeft = this.props.trackClickable ? gestureState.x0 - (this.state.thumbSize.width/2) : this._getThumbLeft(this._getCurrentValue());
326325
this._fireChangeEvent('onSlidingStart');
327326
};

0 commit comments

Comments
 (0)