forked from vergnet/application-amicale
Removed log
This commit is contained in:
parent
31f7a2e539
commit
645115cb78
1 changed files with 0 additions and 1 deletions
|
@ -33,7 +33,6 @@ export default class AutoHideComponent extends React.Component<Props, State> {
|
||||||
|
|
||||||
onScroll({nativeEvent}: Object) {
|
onScroll({nativeEvent}: Object) {
|
||||||
const speed = nativeEvent.contentOffset.y < 0 ? 0 : this.lastOffset - nativeEvent.contentOffset.y;
|
const speed = nativeEvent.contentOffset.y < 0 ? 0 : this.lastOffset - nativeEvent.contentOffset.y;
|
||||||
console.log(nativeEvent);
|
|
||||||
if (speed < -5) { // Go down
|
if (speed < -5) { // Go down
|
||||||
if (!this.isAnimationDownPlaying) {
|
if (!this.isAnimationDownPlaying) {
|
||||||
this.isAnimationDownPlaying = true;
|
this.isAnimationDownPlaying = true;
|
||||||
|
|
Loading…
Reference in a new issue