Fixing crash introduced in 0.6.6.

This commit is contained in:
Luigi Rosso
2021-01-18 17:07:13 -08:00
parent a152b940bf
commit 0a66bb76be
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## [0.6.6+1] - 2021-01-18 17:06:17
- Fixes a crashing issue introduced in 0.6.6.
## [0.6.6] - 2021-01-18 16:40:10
- Adds getters for start/endTime and reset() in LinearAnimationInstance

View File

@ -119,7 +119,7 @@ class Artboard extends ArtboardBase with ShapePaintContainer {
void update(int dirt) {
if (dirt & ComponentDirt.worldTransform != 0) {
var rect = Rect.fromLTWH(
width * (-originX ?? 0), height * (-originY ?? 0), width, height);
width * -(originX ?? 0), height * -(originY ?? 0), width, height);
path.reset();
path.addRect(rect);
}

View File

@ -1,6 +1,6 @@
name: rive
description: Rive 2 Flutter Runtime. This package provides runtime functionality for playing back and interacting with animations built with the Rive editor available at https://rive.app.
version: 0.6.6
version: 0.6.6+1
repository: https://github.com/rive-app/rive-flutter
homepage: https://rive.app