@quenty/blend 4.2.0 → 4.2.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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
+ ## [4.2.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/blend@4.2.0...@quenty/blend@4.2.1) (2022-07-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix broken initial value of AccelTween ([52795f6](https://github.com/Quenty/NevermoreEngine/commit/52795f6f075e763023fb85ed1eb53531381acb49))
12
+
13
+
14
+
15
+
16
+
6
17
  # [4.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/blend@4.1.0...@quenty/blend@4.2.0) (2022-07-02)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/blend
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/blend",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Declarative UI system.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -45,5 +45,5 @@
45
45
  "@quenty/contentproviderutils": "^5.0.0",
46
46
  "@quenty/playerthumbnailutils": "^5.1.0"
47
47
  },
48
- "gitHead": "de33c83e7f897e2b0887c77aeb1fc7963756f234"
48
+ "gitHead": "67bd6a4f1957c3727c208d23c564c5757de6d7c8"
49
49
  }
@@ -298,7 +298,13 @@ function Blend.AccelTween(source, acceleration)
298
298
  local accelerationObservable = Blend.toNumberObservable(acceleration)
299
299
 
300
300
  local function createAccelTween(maid, initialValue)
301
- local accelTween = AccelTween.new(initialValue)
301
+ local accelTween = AccelTween.new()
302
+
303
+ if initialValue then
304
+ accelTween.p = initialValue
305
+ accelTween.t = initialValue
306
+ accelTween.v = 0
307
+ end
302
308
 
303
309
  if accelerationObservable then
304
310
  maid:GiveTask(accelerationObservable:Subscribe(function(value)