diff --git a/.rive_head b/.rive_head index ebdacc7..eb57b2c 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -1b6afc1e96b6cac3a708b78381ce6fa7d0dd8058 +0dc0b435ffb0df61de0afcdc2cea0c69bb8fedd4 diff --git a/lib/src/rive_core/nested_artboard.dart b/lib/src/rive_core/nested_artboard.dart index d5268c3..a8bc488 100644 --- a/lib/src/rive_core/nested_artboard.dart +++ b/lib/src/rive_core/nested_artboard.dart @@ -58,6 +58,8 @@ abstract class MountedArtboard { double get artboardHeight; double get originalArtboardWidth; double get originalArtboardHeight; + void artboardWidthOverride(double width, int widthUnitValue, bool isRow); + void artboardHeightOverride(double height, int heightUnitValue, bool isRow); void dispose(); void dataContextFromInstance(ViewModelInstance viewModelInstance, DataContext? dataContextValue, bool isRoot); diff --git a/lib/src/runtime_mounted_artboard.dart b/lib/src/runtime_mounted_artboard.dart index c0aa297..6069bac 100644 --- a/lib/src/runtime_mounted_artboard.dart +++ b/lib/src/runtime_mounted_artboard.dart @@ -87,6 +87,12 @@ class RuntimeMountedArtboard extends MountedArtboard { artboardInstance.height = height; } + @override + void artboardWidthOverride(double width, int widthUnitValue, bool isRow) {} + + @override + void artboardHeightOverride(double height, int heightUnitValue, bool isRow) {} + @override double get originalArtboardWidth => originalArtboardInstanceSize.width;