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

Fixes #116060: Clone minimap options before changing them #116444

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

alexdima
Copy link
Member

@alexdima alexdima commented Feb 11, 2021

This PR fixes #116060

Repro steps in #116060 (comment)

The problem was that the diff editor widget was "massaging" some passed in editor options without cloning them. The same objects would later be used to create other editors and thus the minimap would be turned off for them.

@alexdima alexdima added this to the January 2021 Recovery 2 milestone Feb 11, 2021
@alexdima alexdima requested a review from jrieken February 11, 2021 11:29
@alexdima alexdima merged commit 622cb03 into release/1.53 Feb 11, 2021
@alexdima alexdima deleted the alex/stable-fix-116060 branch February 11, 2021 11:31
@thesoftwarephilosopher
Copy link
Contributor

Amazing how the smallest code change like this can fix such an unrelated-seeming bug. 👍

@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2021
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.

3 participants