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: MultiGeometry supports undoEditCheck, redoEditCheck, undoEdit, redoEdit #2487

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

minemine-m
Copy link
Contributor

No description provided.

@fuzhenn
Copy link
Member

fuzhenn commented Jan 3, 2025

有个疑问:multiGeometry中的geometry中,undoEdit和redoEdit是否可能发生不一致?例如:

MultiPolygon中包含两个Polygon A和B,A有5个端点,B有10个端点

undo过程中,A因为端点较少,无法继续undo了,但B仍旧可以,但B会否因为A的缘故,无法继续往下继续undo?

@minemine-m
Copy link
Contributor Author

有个疑问:multiGeometry中的geometry中,undoEdit和redoEdit是否可能发生不一致?例如:

MultiPolygon中包含两个Polygon A和B,A有5个端点,B有10个端点

undo过程中,A因为端点较少,无法继续undo了,但B仍旧可以,但B会否因为A的缘故,无法继续往下继续undo?

不会的,可以看下这个测试代码
测试.zip

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.

2 participants