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

Fix overlay area for minimap slider #108448

Merged
merged 2 commits into from Nov 20, 2020
Merged

Fix overlay area for minimap slider #108448

merged 2 commits into from Nov 20, 2020

Conversation

xndcn
Copy link
Contributor

@xndcn xndcn commented Oct 10, 2020

The overlay area of minimap slider is not correct unless minimapHeightIsEditotHeight or all lines fit in the minimap.

The problem is more clear when we choose a bigger scale.

Since minimap always render from a complete line, we have to recalculate sliderTop with align offset.

@xndcn
Copy link
Contributor Author

xndcn commented Oct 10, 2020

Before:
before.png

After:
after.png

Since minimap always render from a complete line, we have to recalculate sliderTop with align offset.
@xndcn
Copy link
Contributor Author

xndcn commented Nov 19, 2020

Remind.
Appreciate any review comments, thanks.

@alexdima
Copy link
Member

The changes are really good! Thank you ❤️ !

I'm sorry I didn't get to this sooner.

@alexdima alexdima merged commit b2bd354 into microsoft:master Nov 20, 2020
@alexdima alexdima added this to the November 2020 milestone Nov 20, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 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.

None yet

2 participants