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:
Jason Simmons 2022-05-25 16:51:32 -07:00 committed by SkCQ
parent e78db5d632
commit 153bd188e6

View File

@ -210,6 +210,7 @@ private:
fClip.clean();
fTooLongCluster = false;
fTooLongWord = false;
fHardLineBreak = false;
}
void lookAhead(SkScalar maxWidth, Cluster* endOfClusters);