mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
LibVT: Snapshot the URL we're opening a context menu for
Otherwise it may get lost due to a leave event firing in the widget.
This commit is contained in:
parent
31ec4de0ee
commit
c3aa249a36
2 changed files with 9 additions and 4 deletions
|
@ -133,6 +133,9 @@ private:
|
|||
String m_hovered_href;
|
||||
String m_hovered_href_id;
|
||||
|
||||
// Snapshot of m_hovered_href when opening a context menu for a hyperlink.
|
||||
String m_context_menu_href;
|
||||
|
||||
bool m_should_beep { false };
|
||||
bool m_belling { false };
|
||||
bool m_alt_key_held { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue