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

Remove default pinpoint config #763

Merged
merged 2 commits into from
Mar 15, 2024
Merged

Remove default pinpoint config #763

merged 2 commits into from
Mar 15, 2024

Conversation

lentinj
Copy link
Collaborator

@lentinj lentinj commented Mar 15, 2024

We decided having an extra tree-dependent config option wasn't worth the heart-ache, so removing.

Mitigate my concerns about pzoom to @biota by pzooming out, as a special case.

Fixes #742

lentinj added 2 commits March 15, 2024 16:06
A default_init_pinpoint will be problematic when switching trees.
Whilst we can change the config setting, ideally this is a per-tree
setting which we can revisit if/when we have an organised home for
such things (e.g. tree_startpoints table).

Duck the problem for now, hard-code the default to @_ozid=1, which is
always the root.
The pzoom animation for @biota doesn't make much sense, as you're just
zooming into a static image.

As a special case, zoom in first and pzoom out for the root.
@lentinj lentinj merged commit 6b9547e into main Mar 15, 2024
1 check passed
@lentinj lentinj deleted the issue-742-default-loading branch March 15, 2024 16:13
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

Successfully merging this pull request may close these issues.

Positioning of tree on default loading
1 participant