mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
LibGUI: GTextBox should only run a caret blink timer when focused.
This commit is contained in:
parent
c0cffe1134
commit
bc6ff35428
3 changed files with 14 additions and 2 deletions
|
@ -20,6 +20,8 @@ private:
|
|||
virtual void mousedown_event(GMouseEvent&) override;
|
||||
virtual void keydown_event(GKeyEvent&) override;
|
||||
virtual void timer_event(GTimerEvent&) override;
|
||||
virtual void focusin_event(GEvent&) override;
|
||||
virtual void focusout_event(GEvent&) override;
|
||||
virtual bool accepts_focus() const override { return true; }
|
||||
|
||||
void handle_backspace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue