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 the overlap the line by a few pixels (#139311) #139575

Merged
merged 1 commit into from
Dec 22, 2021
Merged

Fix the overlap the line by a few pixels (#139311) #139575

merged 1 commit into from
Dec 22, 2021

Conversation

weartist
Copy link
Contributor

@weartist weartist commented Dec 21, 2021

Replace clientWidth and clientHeight with offsetWidth and offsetHeight,to solve overlap the line

This PR fixes #139311

fix the overlap the line by a few pixels, current use clientHeight value calculations, the borderWidth is ignored when calculating the offset, his value is 1, resulting in less subtraction and some pixels are overlap

Replace clientWidth and clientHeight with offsetWidth and offsetHeight,to solve overlap the line
@Tyriar Tyriar assigned alexdima and unassigned Tyriar Dec 21, 2021
@alexdima alexdima added this to the January 2022 milestone Dec 22, 2021
@alexdima alexdima merged commit eedccd2 into microsoft:main Dec 22, 2021
@alexdima
Copy link
Member

Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2022
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.

Editor hover tips (when positioned above the line) overlap the line by a few pixels
3 participants