Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML 容器 Camera 缩放 #1702

Closed
xiaoiver opened this issue May 30, 2024 · 0 comments
Closed

HTML 容器 Camera 缩放 #1702

xiaoiver opened this issue May 30, 2024 · 0 comments
Assignees
Labels

Comments

@xiaoiver
Copy link
Contributor

xiaoiver commented May 30, 2024

目前所有 HTML 都会放在一个 <div> 容器中,随 Camera 变化应用 transform,当 setZoom(0.5) 时容器会缩小导致超出范围后事件无法响应:

截屏2024-05-30 下午4 19 04

应当在 camera 外再嵌套一层

截屏2024-05-30 下午5 11 51
@xiaoiver xiaoiver self-assigned this May 30, 2024
@xiaoiver xiaoiver added the bug label May 30, 2024
wang1212 added a commit that referenced this issue Aug 16, 2024
* refactor: fix dev tools (#1750)

* chore: fix build env

* refactor: fix typo and lint

* chore: update webpack config

* fix: HTML canvas does not match the canvas range after the camera is applied (#1702) (#1752)

* Version Packages (#1753)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant