diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-27 19:18:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-27 19:52:18 +0200 |
commit | a8f0e4d56e70013803c09943ffb33e4d86c768fa (patch) | |
tree | f7ad9e34d2ac1892d9015eb81200918dda11010e /Libraries/LibWeb/Layout/LayoutImage.cpp | |
parent | 30edd198eceee089d53ab40a7d97f607924b5640 (diff) | |
download | serenity-a8f0e4d56e70013803c09943ffb33e4d86c768fa.zip |
LibGUI: Defer line reflow during text insertion
Add a deferral counter and defer reflowing the visual lines until the
counter is at zero. Use this to defer reflow when inserting text.
This fixes glacial slowdown while paste large amounts of text.
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutImage.cpp')
0 files changed, 0 insertions, 0 deletions