coily 0.8.1 → 0.8.2

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.
package/dist/api.cjs CHANGED
@@ -490,7 +490,7 @@ class Spring {
490
490
  set target(value) {
491
491
  if (value !== __privateGet$1(this, _target)) {
492
492
  if (__privateGet$1(this, _solver).position !== __privateGet$1(this, _solver).lazyPosition) {
493
- __privateGet$1(this, _solver).tick(0, false);
493
+ __privateGet$1(this, _solver).tick(0);
494
494
  }
495
495
  if (!__privateGet$1(this, _scheduler$1).has(__privateGet$1(this, _solver))) {
496
496
  __privateGet$1(this, _scheduler$1).add(__privateGet$1(this, _solver));
@@ -507,7 +507,7 @@ class Spring {
507
507
  const position = value - __privateGet$1(this, _target);
508
508
  if (position !== __privateGet$1(this, _solver).position) {
509
509
  if (__privateGet$1(this, _solver).position !== __privateGet$1(this, _solver).lazyPosition) {
510
- __privateGet$1(this, _solver).tick(0, false);
510
+ __privateGet$1(this, _solver).tick(0);
511
511
  }
512
512
  if (!__privateGet$1(this, _scheduler$1).has(__privateGet$1(this, _solver))) {
513
513
  __privateGet$1(this, _scheduler$1).add(__privateGet$1(this, _solver));
package/dist/api.mjs CHANGED
@@ -488,7 +488,7 @@ class Spring {
488
488
  set target(value) {
489
489
  if (value !== __privateGet$1(this, _target)) {
490
490
  if (__privateGet$1(this, _solver).position !== __privateGet$1(this, _solver).lazyPosition) {
491
- __privateGet$1(this, _solver).tick(0, false);
491
+ __privateGet$1(this, _solver).tick(0);
492
492
  }
493
493
  if (!__privateGet$1(this, _scheduler$1).has(__privateGet$1(this, _solver))) {
494
494
  __privateGet$1(this, _scheduler$1).add(__privateGet$1(this, _solver));
@@ -505,7 +505,7 @@ class Spring {
505
505
  const position = value - __privateGet$1(this, _target);
506
506
  if (position !== __privateGet$1(this, _solver).position) {
507
507
  if (__privateGet$1(this, _solver).position !== __privateGet$1(this, _solver).lazyPosition) {
508
- __privateGet$1(this, _solver).tick(0, false);
508
+ __privateGet$1(this, _solver).tick(0);
509
509
  }
510
510
  if (!__privateGet$1(this, _scheduler$1).has(__privateGet$1(this, _solver))) {
511
511
  __privateGet$1(this, _scheduler$1).add(__privateGet$1(this, _solver));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coily",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Simulate values using spring physics",
5
5
  "author": "Tim Morris <timthewebguy@gmail.com>",
6
6
  "homepage": "https://github.com/tkofh/coily#readme",