mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-13 02:16:39 +02:00
A label's format is: <label>Label text</label> So, a TextNode is created as a child of the Label node, and EventHandler will send events to the TextNode. This changes TextNode to accept mouse events if its parent is a Label, and to forward those events upward.
2.9 KiB
2.9 KiB