Skip to content

Commit 96ece56

Browse files
committed
enh: use ensureVisualUpdate instead of scheduleFrame
1 parent 5b93f8d commit 96ece56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flutter/lib/src/replay/scheduled_recorder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class ScheduledScreenshotRecorder extends ScreenshotRecorder {
6767
// actions, there may not be any frame captured for a long time so even
6868
// the IdleFrameFiller won't have anything to repeat. This would appear
6969
// as if the replay was broken.
70-
options.bindingUtils.instance!.scheduleFrame();
70+
options.bindingUtils.instance!.ensureVisualUpdate();
7171
}
7272

7373
Future<void> stop() async {

0 commit comments

Comments
 (0)