-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsa: typographyText rendering, possibly libtxtText rendering, possibly libtxtengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Description
When on a line that is not the first line and the line is empty (only \n was pressed from previous line), the cursor behaves as if it were left justified.
Should be simple to fix by defaulting x advance offset to width_/2 when centered instead of zero in LibTxt paragraph.cc. May want to look at Paragraph::GetLineXOffset()
Metadata
Metadata
Assignees
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsa: typographyText rendering, possibly libtxtText rendering, possibly libtxtengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.