apply method

  1. @override
void apply(
  1. ActorComponent? component,
  2. double mix
)
override

Implementation

@override
void apply(ActorComponent? component, double mix) {
  ActorArtboard artboard = component!.artboard;

  for (final DrawOrderIndex doi in _orderedNodes) {
    ActorComponent? component = artboard[doi.componentIndex];
    if (component is ActorDrawable) {
      component.drawOrder = doi.order;
    }
  }
}