| 125 | } |
| 126 | |
| 127 | void DeferredViewTransaction::cancelAnimator(const Ref<Animator>& animator) { |
| 128 | enqueue([=](IViewTransaction& transaction) { transaction.cancelAnimator(animator); }); |
| 129 | } |
| 130 | |
| 131 | void DeferredViewTransaction::scheduleOnNextDraw(const Ref<View>& rootView, DispatchFunction callback) { |
| 132 | enqueue([rootView, callback = std::move(callback)](IViewTransaction& transaction) mutable { |