Socket
Socket
Sign inDemoInstall

react-native-scroller

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

8

library/Scroller.js

@@ -87,2 +87,4 @@ 'use strict';

constructor(flywheel, onScrollCallback) {
this.mCurrX = 0;
this.mCurrY = 0;
this.mFinished = true;

@@ -175,4 +177,4 @@ this.mInterpolator = ViscousFluidInterpolator;

// Pin to mMinX <= mCurrX <= mMaxX
this.mCurrX = Math.min(this.mCurrX, this.mMaxX);
this.mCurrX = Math.max(this.mCurrX, this.mMinX);
//this.mCurrX = Math.min(this.mCurrX, this.mMaxX);
//this.mCurrX = Math.max(this.mCurrX, this.mMinX);

@@ -355,4 +357,4 @@ this.mCurrY = this.mStartY + Math.round(distanceCoef * (this.mFinalY - this.mStartY));

debugInfo() {
return 'cur=' + this.mCurrX + ' ' + this.mCurrY;
return 'cur=' + this.mCurrX + ' ' + this.mCurrY + ', final=' + this.mFinalX + ' ' + this.mFinalY;
}
}
{
"name": "react-native-scroller",
"version": "0.0.4",
"version": "0.0.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "library/Scroller.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc