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

app 导出时 screenshot 的 x和y 设置无效 #109

Closed
3400442579 opened this issue Apr 2, 2024 · 2 comments
Closed

app 导出时 screenshot 的 x和y 设置无效 #109

3400442579 opened this issue Apr 2, 2024 · 2 comments

Comments

@3400442579
Copy link

3400442579 commented Apr 2, 2024

  app.export('test1.png', {
                    pixelRatio: 1,
                    screenshot: { x: 200, y: 100, width: 200, height: 200 }
                });


导出图片时 x y 一直都在 0,0 位置

Leafer 对象是正常的

@leaferjs
Copy link
Owner

leaferjs commented Apr 2, 2024

收到,谢谢反馈~

@leaferjs
Copy link
Owner

已经修复,等待发版~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants