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:
parent
789f2925e8
commit
8e9fc27822
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user