summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutImage.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-27 19:18:40 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-27 19:52:18 +0200
commita8f0e4d56e70013803c09943ffb33e4d86c768fa (patch)
treef7ad9e34d2ac1892d9015eb81200918dda11010e /Libraries/LibWeb/Layout/LayoutImage.cpp
parent30edd198eceee089d53ab40a7d97f607924b5640 (diff)
downloadserenity-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