We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题描述 / Describe the bug 正常情况,在新建画布中选中图形元素时,出现的矩形框层级是最高的,但是重新导入之前保存到本地的文件, 再选中元素时的矩形框层级出现问题
复现步骤 / To Reproduce 1、在空白花白中随便画几个图形元素,为了方便观察,几个元素最好有重叠,然后点击 菜单 -> 保存到本地, 假设自动下载的文件名为 xxx.pictode 2、点击 菜单 -> 打开 重新加载刚才保存的 xxx.pictode 文件 3、选中一个图形元素后,出现选中的矩形框 4、你会发现矩形框的层级不在最上层了 5、排查源码发现是导入时 optionLayer 层级初始化问题
菜单 -> 保存到本地
xxx.pictode
菜单 -> 打开
期望行为 / Expected behavior 重新导入已保存的文件,重新渲染元素,选中元素后,矩形框层级正常展示
截图 / Screenshots 正常时的状态: 层级异常时的状态:
The text was updated successfully, but these errors were encountered:
fix: JessYan0913#65 导入文件渲染画布时, 选中元素的矩形框层级问题修复
aff9aa2
bf8aae8
JessYan0913
No branches or pull requests
Bug Report / 缺陷报告
问题描述 / Describe the bug
正常情况,在新建画布中选中图形元素时,出现的矩形框层级是最高的,但是重新导入之前保存到本地的文件, 再选中元素时的矩形框层级出现问题
复现步骤 / To Reproduce
1、在空白花白中随便画几个图形元素,为了方便观察,几个元素最好有重叠,然后点击
菜单 -> 保存到本地
, 假设自动下载的文件名为xxx.pictode
2、点击
菜单 -> 打开
重新加载刚才保存的xxx.pictode
文件3、选中一个图形元素后,出现选中的矩形框
4、你会发现矩形框的层级不在最上层了
5、排查源码发现是导入时 optionLayer 层级初始化问题
期望行为 / Expected behavior
重新导入已保存的文件,重新渲染元素,选中元素后,矩形框层级正常展示
截图 / Screenshots
正常时的状态:
层级异常时的状态:
The text was updated successfully, but these errors were encountered: