diff options
author | MacDue <macdue@dueutil.tech> | 2022-07-18 20:03:11 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-19 11:10:02 +0100 |
commit | 8266ebf3c61c9c6a4aa98cbddd64814230b83d7d (patch) | |
tree | 599199bb3a3d48d84167e3728a5229bb72126ebc /AK/ByteBuffer.h | |
parent | cdcdc095df47c30d140d9d612390981d673141e9 (diff) | |
download | serenity-8266ebf3c61c9c6a4aa98cbddd64814230b83d7d.zip |
TextEditor: Debounce update_preview() in on_change event
This avoids lag spikes when undoing/redoing large chunks of HTML/CSS
with the HTML preview open. This had been bugging me when reducing
LibWeb issues in the text editor. The debounce timeout is 100ms
so the delay should not be noticeable.
Diffstat (limited to 'AK/ByteBuffer.h')
0 files changed, 0 insertions, 0 deletions