Tencent / Tencent/libpag

web接入setRepeatCount(1)时:最后一帧不渲染,会停止在倒数第二帧

Open
#3,227 3 comments 0 reactions 1 assignee View on GitHub

@CodeJhF is already working on this.

Since Jul 7, 2026.

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Description

【版本信息】

4.5.16

【平台信息】

Web 浏览器

【预期的表现】

播放到末尾时,应渲染最后一帧

【实际的情况】

渲染的倒数第二帧

pagViewer播放到末尾时,是可以正常渲染最后一帧

【Demo及附件】

其他与官网demo一样,只是设置了setRepeatCount(1)

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.