@quenty/spring 3.2.1-canary.4c04014.0 → 4.0.0

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/CHANGELOG.md CHANGED
@@ -3,7 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [3.2.1-canary.4c04014.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/spring@3.2.0...@quenty/spring@3.2.1-canary.4c04014.0) (2022-01-17)
6
+ # [4.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/spring@3.3.0...@quenty/spring@4.0.0) (2022-03-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Allow tweening of UDim2, previously this code errored ([3754694](https://github.com/Quenty/NevermoreEngine/commit/375469496d1b32fc27f947b43a9393edc52d72ad))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/spring@3.2.0...@quenty/spring@3.3.0) (2022-01-17)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/spring
9
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/spring",
3
- "version": "3.2.1-canary.4c04014.0",
3
+ "version": "4.0.0",
4
4
  "description": "Spring implementation for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -29,7 +29,7 @@
29
29
  "access": "public"
30
30
  },
31
31
  "dependencies": {
32
- "@quenty/loader": "3.3.1-canary.4c04014.0"
32
+ "@quenty/loader": "^4.0.0"
33
33
  },
34
- "gitHead": "4c040145693283525ba3f4c793cead7abee28fb2"
34
+ "gitHead": "dd428cab58282c975a4c082957dc8f58e3186905"
35
35
  }
@@ -74,7 +74,7 @@ function SpringUtils.toLinearIfNeeded(value)
74
74
  if typeof(value) == "Color3" then
75
75
  return LinearValue.new(Color3.new, {value.r, value.g, value.b})
76
76
  elseif typeof(value) == "UDim2" then
77
- return LinearValue.new(UDim2.new, {value.x.scale, value.x.offset, value.y.scale, value.y.offset})
77
+ return LinearValue.new(UDim2.new, {value.X.Scale, value.X.Offset, value.Y.Scale, value.Y.Offset})
78
78
  elseif typeof(value) == "UDim" then
79
79
  return LinearValue.new(UDim.new, {value.scale, value.offset})
80
80
  else