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

Add location is drifting over time #2

Open
LivInTheLookingGlass opened this issue Jul 26, 2015 · 7 comments
Open

Add location is drifting over time #2

LivInTheLookingGlass opened this issue Jul 26, 2015 · 7 comments

Comments

@LivInTheLookingGlass
Copy link
Owner

Ideally it should be added to the center of the canvas all the time.

@LivInTheLookingGlass
Copy link
Owner Author

Hopefully fixed with most recent patch. Long-term testing is required.

@LivInTheLookingGlass
Copy link
Owner Author

This fixed it for coin nodes, but not transaction nodes.

@LivInTheLookingGlass
Copy link
Owner Author

I think this time it actually works. Closing for now.

@LivInTheLookingGlass
Copy link
Owner Author

Patch did not work. Butchered performance. Reverting.

@LivInTheLookingGlass
Copy link
Owner Author

So... setting node.location to {x:0,y:0} works for input/output nodes, but does not seem to work for transaction nodes. This can mean one of a few things:

  1. Transaction nodes have their locations set differently, as evidenced by them starting very close to large input/output groups they're associated with.
  2. Transaction nodes never have their location set, despite my efforts, and revert to the natural insertion point.

@LivInTheLookingGlass
Copy link
Owner Author

Note: it seems to be drifting even when position is manually set to 0,0. It is drifting significantly less than the original point of entry (as seen by brief flickers) but drifting nonetheless.

@LivInTheLookingGlass
Copy link
Owner Author

Partly working with setNodePosition(). Need to figure out why not all nodes do this.

@LivInTheLookingGlass LivInTheLookingGlass modified the milestone: v0.3 Aug 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant