Skip to content

Expansion depth should be stable across updates#277

Merged
texodus merged 10 commits intoperspective-dev:masterfrom
nmichaud:expansion-depth
Oct 19, 2018
Merged

Expansion depth should be stable across updates#277
texodus merged 10 commits intoperspective-dev:masterfrom
nmichaud:expansion-depth

Conversation

@nmichaud
Copy link
Contributor

When a context has the expansion depth set, new nodes that tick in aren't automatically expanded to that depth. This PR fixes that.

@texodus texodus merged commit b9ae184 into perspective-dev:master Oct 19, 2018
@texodus
Copy link
Member

texodus commented Oct 19, 2018

Looks great, thanks for the PR!

*
*/
view.prototype.expand_to_depth = async function(depth) {
view.prototype.set_depth = async function(depth) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that this is a breaking change would it not be better to deprecate the old functions? (Unless they’ve not been released from master yet?)

@nmichaud nmichaud mentioned this pull request Oct 21, 2018
@nmichaud nmichaud deleted the expansion-depth branch October 27, 2018 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants