diff --git a/src/utils.ts b/src/utils.ts index 001481ce5..fb8bf4ad0 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -81,7 +81,7 @@ export async function getScreenRefreshRate (): Promise { const fps = Math.floor(1000 * 10 / (DOMHighResTimeStamp - t0)) if (!callbackTriggered || fps > 1000) { - resolve(Math.max(fps, 1000)/* , DOMHighResTimeStampCollection */) + resolve(Math.min(fps, 1000)/* , DOMHighResTimeStampCollection */) } callbackTriggered = true