Skip to content

Commit

Permalink
Make sure overrideColor is set even when drawableNodes is null.
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-rosso committed Oct 25, 2019
1 parent 7d59de1 commit 9ee95b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flare_dart/lib/actor_artboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ class ActorArtboard {
Float32List get overrideColor => _overrideColor;

set overrideColor(Float32List value) {
_overrideColor = value;
if (_drawableNodes != null) {
_overrideColor = value;
for (final ActorDrawable drawable in _drawableNodes) {
addDirt(drawable, DirtyFlags.paintDirty, true);
}
Expand Down

0 comments on commit 9ee95b9

Please sign in to comment.