-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
download: use the
node.shell.inView
property
The `node.inView` property is a temporary hold for the node's inView property to be able to zoom in on specific branches before the D3 PhyloTree has been constructed. Once the D3 PhyloTree has been constructed, the inView property is available through `node.shell.inView`. This is the property that gets updated by `applyInViewNodesToTree` whenever the user interacts with any zooming functionality on the tree. The temporary `node.inView` property will never be updated and thus only represents the initial state of the node when the tree was first loaded. Therefore, any downstream uses of the inView property should be using the `node.shell.inView` property.
- Loading branch information
1 parent
3e3f8bd
commit 8304cdf
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters