Skip to content

Make Inheritance Margin Zoom Level is divided by 100#54828

Merged
Cosifne merged 1 commit intodotnet:release/dev16.11from
Cosifne:dev/shech/InheritanceMarginZoomLevelFix
Jul 20, 2021
Merged

Make Inheritance Margin Zoom Level is divided by 100#54828
Cosifne merged 1 commit intodotnet:release/dev16.11from
Cosifne:dev/shech/InheritanceMarginZoomLevelFix

Conversation

@Cosifne
Copy link
Member

@Cosifne Cosifne commented Jul 14, 2021

@Cosifne Cosifne requested a review from a team as a code owner July 14, 2021 21:21
@ghost ghost added the Area-IDE label Jul 14, 2021
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I move the zoom level -> scaleFactor conversion here so that this could be covered by the unit test change below

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the unit tests below are expecting a ViewModel that has 1 scaleFactor, change the value here to be 100 to match TextView.ZoomLevel, it will make sure the conversion is not missed

@Cosifne Cosifne force-pushed the dev/shech/InheritanceMarginZoomLevelFix branch from 487a42b to f790337 Compare July 14, 2021 23:34
@CyrusNajmabadi
Copy link
Contributor

Seems good on my machine now :)

@Cosifne Cosifne merged commit 0788cd6 into dotnet:release/dev16.11 Jul 20, 2021
@Cosifne Cosifne deleted the dev/shech/InheritanceMarginZoomLevelFix branch July 20, 2021 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants