Have text selection span full line height for uneven sized text. (#1150)

pull/1151/head
Benjamin Quinn 2 years ago committed by GitHub
parent 4e11298d4d
commit 5b482e0668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/src/widgets/proxy.dart

@ -290,7 +290,7 @@ class RenderParagraphProxy extends RenderProxyBox
@override
List<TextBox> getBoxesForSelection(TextSelection selection) => child!
.getBoxesForSelection(selection, boxHeightStyle: BoxHeightStyle.strut);
.getBoxesForSelection(selection, boxHeightStyle: BoxHeightStyle.max);
@override
void performLayout() {

Loading…
Cancel
Save