tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

fix: 修复画布行列容器组件中的分割工具位置错误的问题

Open gene9831 opened this issue 1 year ago • 1 comments

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?

image

What is the new behavior?

  1. 重构了画布坐标系
  2. 优化了画布右键菜单

和引入Bug前的UI保持一致 image drag-canvas-row

Does this PR introduce a breaking change?

  • [ ] Yes
  • [ ] No

Other information

gene9831 avatar Apr 28 '24 06:04 gene9831

纵向分割大于2的时候报错: image

w990752800 avatar May 09 '24 06:05 w990752800