mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 19:57:41 +00:00
LibWeb: Restart the cursor blink cycle whenever the user edits content
Having the text cursor disappear during rapid continuous editing is quite jarring, so let's make sure we always restart the blink cycle whenever the user performs some kind of editing action in a frame.
This commit is contained in:
parent
901ef3f1c8
commit
ce2894c95b
3 changed files with 14 additions and 0 deletions
|
@ -94,6 +94,8 @@ public:
|
|||
|
||||
String selected_text() const;
|
||||
|
||||
void did_edit(Badge<EditEventHandler>);
|
||||
|
||||
private:
|
||||
explicit Frame(DOM::Element& host_element, Frame& main_frame);
|
||||
explicit Frame(Page&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue