Clear the hard line break flag when resetting the TextWrapper
See https://github.com/flutter/flutter/issues/104208 Change-Id: I963fc77931014ed3c312a3e2667dc3e8cb31fe2b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/544116 Reviewed-by: Julia Lavrova <jlavrova@google.com> Commit-Queue: Jason Simmons <jsimmons@google.com>
This commit is contained in:
parent
e78db5d632
commit
153bd188e6
@ -210,6 +210,7 @@ private:
|
||||
fClip.clean();
|
||||
fTooLongCluster = false;
|
||||
fTooLongWord = false;
|
||||
fHardLineBreak = false;
|
||||
}
|
||||
|
||||
void lookAhead(SkScalar maxWidth, Cluster* endOfClusters);
|
||||
|
Loading…
Reference in New Issue
Block a user