Skip to content

Fix overlay area for minimap slider#108448

Merged
alexdima merged 2 commits intomicrosoft:masterfrom
xndcn:patch-1
Nov 20, 2020
Merged

Fix overlay area for minimap slider#108448
alexdima merged 2 commits intomicrosoft:masterfrom
xndcn:patch-1

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.

2 participants