Skip to content

Conversation

@Kalmaegi
Copy link
Contributor

@Kalmaegi Kalmaegi 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

4 participants