tiny-engine
tiny-engine copied to clipboard
fix: 修复画布行列容器组件中的分割工具位置错误的问题
English | 简体中文
PR
PR Checklist
Please check if your PR fulfills the following requirements:
- [x] The commit message follows our Commit Message Guidelines
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
- [ ] Built its own designer, fully self-validated
PR Type
What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:
Background and solution
修改画布相对位置时引入的一个Bug,导致布行列容器组件中的分割工具位置错误
What is the current behavior?
What is the new behavior?
- 重构了画布坐标系
- 优化了画布右键菜单
和引入Bug前的UI保持一致
Does this PR introduce a breaking change?
- [ ] Yes
- [ ] No
Other information
纵向分割大于2的时候报错: