-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Update view.View.scrollTo method #1354
Conversation
|
I'm not sure about that. Shall I create a commit to check UX?
Centering a clicked node is a bit too much I think. I suppose moving it inside a safe-area will suffice. The size of the safe area can be around 80% or 90%. If any of the attemps won't satisfy @fdwr, reverting c5868fe would be needed.
Firstly, I'm not really sure if scrolling is necessary when edges are selected. Does it really help? In some cases when lines are very long, clicking them triggers a long scroll and connected nodes that were previously shown tend to go out of the visible area due to the scrolling. |
1275e1f
to
f2297c1
Compare
@lutzroeder @fdwr done updating the code so can you please check new auto scroll behavior is OK? |
Actual: does not scroll to new location. |
74940c7
to
19d547f
Compare
Fixed the bug with 19d547f by using This is an off-topic but I've noticed that |
Regressed #1356 Open alexnet.zip.pth. Actual: initial positioning shows center of node |
3334a3f
to
9c73a78
Compare
This PR is opened to address the issue reported in #1352