Skip to content

New minimap rendering mode #90808

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

Merged
merged 32 commits into from
Feb 17, 2020
Merged

New minimap rendering mode #90808

merged 32 commits into from
Feb 17, 2020

Conversation

alexdima
Copy link
Member

@alexdima alexdima commented Feb 17, 2020

Adds editor.minimap.mode which can be configured to 'actual' | 'cover' | 'contain'

  • actual - The minimap will be displayed in its original size, so it might be higher than the editor.
  • cover - The minimap will always have the height of the editor and will stretch or shrink as necessary.
  • contain - The minimap will shrink as necessary to never be higher than the editor.

Fixes #64459
Fixes #21849

@alexdima alexdima self-assigned this Feb 17, 2020
@alexdima alexdima added this to the February 2020 milestone Feb 17, 2020
@alexdima alexdima merged commit b098a1c into master Feb 17, 2020
@alexdima alexdima deleted the alex/minimap branch February 17, 2020 15:15
@charlesg99
Copy link

Great news! Thanks!

@alexdima
Copy link
Member Author

FYI after #91405, the new setting is minimap.size and the values proportional, fit and fill.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minimap: click and drag Minimap: Show Full Document
2 participants