spinit-js 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/SpinIT.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "spinit-js",
3
- "version": "1.0.0",
4
- "description": "git init",
3
+ "version": "1.0.1",
4
+ "description": "A lightweight, high-performance JavaScript library for 360-degree image rotation.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
7
7
  "scripts": {
@@ -27,4 +27,4 @@
27
27
  "files": [
28
28
  "src"
29
29
  ]
30
- }
30
+ }
package/src/SpinIT.js CHANGED
@@ -298,7 +298,7 @@ export class SpinIT {
298
298
  return;
299
299
  }
300
300
 
301
- this.updateFrame(-Math.max(1, this.options.sensitivity));
301
+ this.updateFrame(-this.options.sensitivity);
302
302
 
303
303
  if (targetFrame !== null && this.currentFrame === targetFrame) {
304
304
  this.#stopAutoPlay();