mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The handlers for the TextInput.setMarkedTextRect and TextInput.setEditableSizeAndTransform in the win32 embedding deal in Flutter root view co-ordinates. These need to be converted to window co-ordinates before being passed to the TextInputManager, which deals in Win32 window co-ordinates. This fixes a bug wherein the IME candidates window for CJK input was incorrectly positioned at display scales other than 100% in the OS settings. Fixes: https://github.com/flutter/flutter/issues/76902