Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 0373f29

Browse files
author
Chris Yang
committed
adjust the refresh rate diff to 0.1
1 parent d4a0ff0 commit 0373f29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/platform/darwin/ios/framework/Source/vsync_waiter_ios.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#include "flutter/fml/memory/task_runner_checker.h"
1616
#include "flutter/fml/trace_event.h"
1717

18-
// When calculating refresh rate diffrence, anything within 1 fps is ignored.
19-
const static double kRefreshRateDiffToIgnore = 1;
18+
// When calculating refresh rate diffrence, anything within 0.1 fps is ignored.
19+
const static double kRefreshRateDiffToIgnore = 0.1;
2020

2121
namespace flutter {
2222

0 commit comments

Comments
 (0)