Open dotMorten opened 8 months ago
Instead of getting DPI and doing conversions, consider changing all that code to use the ContentCoordinateConverter: https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.content.contentcoordinateconverter?view=windows-app-sdk-1.4
ContentCoordinateConverter
Instead of getting DPI and doing conversions, consider changing all that code to use the
ContentCoordinateConverter
: https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.content.contentcoordinateconverter?view=windows-app-sdk-1.4