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

Lines attached to connection points jump when shape resized #9

Open
iwbnwif opened this issue Aug 18, 2016 · 0 comments
Open

Lines attached to connection points jump when shape resized #9

iwbnwif opened this issue Aug 18, 2016 · 0 comments

Comments

@iwbnwif
Copy link
Owner

iwbnwif commented Aug 18, 2016

A line connected to a connection point may jump to a different connection point when the line is resized.

This is difficult to debug because the line mod routines are called on every mouse move (even when no update is required - why!).

However, it looks like the problem may be in wxSFLineShape::GetModSrcPoint() and wxSFLineShape::GetModTrgPoint() where a call is made to pSrcShape->GetNearestConnectionPoint( nModPoint ).

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

No branches or pull requests

1 participant