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

画布大小保存 #38

Closed
nihaojob opened this issue Jan 31, 2023 · 1 comment · Fixed by #45
Closed

画布大小保存 #38

nihaojob opened this issue Jan 31, 2023 · 1 comment · Fixed by #45
Assignees

Comments

@nihaojob
Copy link
Owner

涉及到几个地方
1、画布初始化,canvas无固定大小,根据视口100%展示。
2、画布初始化后,生成矩形元素模拟画布,固定ID标识
3、图层不展示模拟画布
4、背景属性的修改在模拟画布上生效
5、导出图片时只导出模拟画布内元素
6、导入/导出json时,测试是否正常

@nihaojob
Copy link
Owner Author

  1. 缩放自动居中
  2. 保存图片只导出画布区域
  3. 导入JSON后 将画布大小更新到背景组件中

@nihaojob nihaojob self-assigned this Feb 1, 2023
@nihaojob nihaojob linked a pull request Feb 5, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant