Commit 07341e32 authored by Jason Simmons's avatar Jason Simmons

Merge pull request #908 from jason-simmons/sprite_box_scheduler

Use Scheduler.instance in flutter_sprites
parents 9ad94220 80e2422f
......@@ -360,7 +360,7 @@ class SpriteBox extends RenderBox {
// Updates
void _scheduleTick() {
scheduler.scheduleFrameCallback(_tick);
Scheduler.instance.scheduleFrameCallback(_tick);
}
void _tick(Duration timeStamp) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment