Skip to content

Commit

Permalink
css动画等待暂停后再seek
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinlic committed Dec 2, 2023
1 parent 4432742 commit 7303d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ export default class Page extends EventEmitter {
});
// 暂停动画
if (pauseAnimationIds.length > 0) {
this.#cdpSession.send("Animation.setPaused", {
await this.#cdpSession.send("Animation.setPaused", {
animations: pauseAnimationIds,
paused: true
});
Expand Down

0 comments on commit 7303d50

Please sign in to comment.