@linear_non/stellar-kit 2.1.19 → 2.1.20

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/events/Raf.js +2 -0
  2. package/package.json +1 -1
package/events/Raf.js CHANGED
@@ -35,7 +35,9 @@ export default class Raf {
35
35
  }
36
36
 
37
37
  tick = () => {
38
+ const { isResizing } = kitStore.flags
38
39
  const { target, current, ease } = this.scroll
40
+ if (isResizing) return
39
41
 
40
42
  this.scroll.current = lerp(current, target, ease)
41
43
  this.scroll.rounded = Math.round(this.scroll.current * 100) / 100
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linear_non/stellar-kit",
3
- "version": "2.1.19",
3
+ "version": "2.1.20",
4
4
  "description": "Stellar frontend core for Non-Linear Studio projects.",
5
5
  "main": "index.js",
6
6
  "exports": {