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

Remember UI pane positions for session #1251

Merged
merged 4 commits into from
Jan 31, 2021

Conversation

devdanzin
Copy link
Contributor

Add simple support for reopening the UI panes (inspector, plotter, repl, runner) in the same dock area (bottom, left, right) they were previously moved to, as discussed in #1122.

As can be seen below, a given pane's position isn't stable in each of these areas. As cannot be seen below (sorry!) both the debugger inspector and debugger runner remember the areas they belong to, and moving a debugger runner doesn't change normal runner's recorded area.

As of right now REPLs, plotters and non-debugger runners clobber the positions of equivalent panes in other modes.

The filesystem pane isn't currently movable, but can easily be added if we decide to change that.

remember_panes2

@ntoll
Copy link
Member

ntoll commented Jan 31, 2021

Looks good to me. Merging. Many thanks @devdanzin 🎉

@ntoll ntoll merged commit 0e4159a into mu-editor:master Jan 31, 2021
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.

2 participants