Skip to content

Fix keyboard anchoring taking screen DPI into account

Yeah, this time screen dpi: Screen.devicePixelRatio should be taken in account when dealing with UbuntuApplication.inputMethod.keyboardRectangle.height

So I am dividing UbuntuApplication.inputMethod.keyboardRectangle.height with Screen.devicePixelRatio and it seems to work on my phone (both portrait and landscape view) so I hope it will be generic and work on all other phones as well :).

Merge request reports