@react-native-ohos/lottie-react-native 7.2.3-rc.2 → 7.2.3-rc.3
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"name": "@react-native-ohos/lottie-react-native",
|
|
7
7
|
"description": "Native part of lottie-react-native",
|
|
8
8
|
"main": "index.ets",
|
|
9
|
-
"version": "7.2.3-rc.
|
|
9
|
+
"version": "7.2.3-rc.3",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
|
|
12
12
|
"@ohos/lottie": "2.0.25-rc.1"
|
|
@@ -297,9 +297,8 @@ export struct LottieAnimationView {
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
getAnimateFrame(): number {
|
|
300
|
-
const firstFrame: number = this.animateItem?.firstFrame ?? 0;
|
|
301
300
|
const totalFrames: number = this.animateItem?.totalFrames ?? 0;
|
|
302
|
-
return Math.ceil(
|
|
301
|
+
return Math.ceil(this.descriptorWrapper.props.progress * totalFrames);
|
|
303
302
|
}
|
|
304
303
|
|
|
305
304
|
addEventFrameListener(): void {
|
package/harmony/lottie.har
CHANGED
|
Binary file
|