experimental/editor: fix resize

Bug: skia:9020
Change-Id: I2f2ade4a5406b60e1b6c2004136fbbad36085d58
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/230121
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
Hal Canary 2019-07-26 10:52:45 -04:00 committed by Skia Commit-Bot
parent 789f2925e8
commit 8e9fc27822

View File

@ -450,6 +450,7 @@ void Editor::paint(SkCanvas* c, PaintOpts options) {
void Editor::markAllDirty() {
for (TextLine& line : fLines) {
line.fBlob = nullptr;
line.fShaped = false;
}
fNeedsReshape = true;
};