@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 +11 -0
- package/package.json +2 -2
- package/src/Shared/Blend/Blend.lua +7 -1
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.
|
|
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": "
|
|
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(
|
|
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)
|