Commit 80e2422f authored by Jason Simmons's avatar Jason Simmons

Use Scheduler.instance in flutter_sprites

parent 9ad94220
......@@ -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