Skip to content

New minimap rendering mode#90808

Merged
alexdima merged 32 commits intomasterfrom
alex/minimap
Feb 17, 2020
Merged

New minimap rendering mode#90808
alexdima merged 32 commits intomasterfrom
alex/minimap

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