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

fix(core): 修复画布拖动阻止滚动 #1701

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

FanSun521
Copy link
Collaborator

@FanSun521 FanSun521 commented Jul 23, 2024

fix #1700

Copy link

changeset-bot bot commented Jul 23, 2024

⚠️ No Changeset found

Latest commit: f5f2e71

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@boyongjiong boyongjiong merged commit e42b6b5 into next Jul 23, 2024
1 check passed
@boyongjiong boyongjiong deleted the feat/entension-selectionSelect branch July 23, 2024 13:45
@wumail
Copy link
Collaborator

wumail commented Jul 24, 2024

纳尼,这样改true和false效果不就一样了?

@FanSun521
Copy link
Collaborator Author

我理解的是这是画布移动范围的限制,算是一个兜底的限制,其实是先走stopMoveGraph判断,如果是true,就不会调用transformModel.translate,也就不会移动,就不会走到画布移动范围这里,如果是false才会走到画布移动范围,所以其实stopMoveGraph控制的是transformModel.translate是否调用就可以了

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 this pull request may close these issues.

3 participants