Open
Conversation
Agent-Logs-Url: https://github.com/gallantlab/pycortex/sessions/b355a6aa-96d3-4b8e-9b9c-057c2cd6b3da Co-authored-by: mvdoc <6150554+mvdoc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update hotkey for re-folding brain without resetting view
Split 'r' hotkey: fold-only vs full view reset
Apr 3, 2026
Contributor
|
@copilot update the help window too if necessary |
Contributor
Author
The help window is auto-generated by iterating over the UI descriptor objects (including |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
rhotkey conflated two distinct operations: folding the brain and resetting camera position — while not even resetting zoom, making it neither a clean fold nor a true reset.Changes
rkey — now only folds the brain (mix → 0) without touching camera target, azimuth, altitude, or radiustkey (new) — full view reset: folds brain + resets camera to defaults (target=[0,0,0],azimuth=45°,altitude=75°,radius=400)docs/userguide/webgl.rstRelevant diff (
mriview.js)