leaferjs / leafer-ui

一款好用的 Canvas 渲染引擎,革新的体验。高效绘图 、UI 交互(小游戏、互动应用、组态)、图形编辑,前端开发必备~
https://www.leaferjs.com
MIT License
2.38k stars 82 forks source link

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

Closed 3400442579 closed 5 months ago

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

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

Leafer 对象是正常的

leaferjs commented 6 months ago

收到,谢谢反馈~

leaferjs commented 6 months ago

已经修复,等待发版~