mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibVT: Allow dragging hyperlinks :^)
You can now drag a hyperlink as a text/uri-list. This allows you to drag a file from "ls" output and drop it on a FileManager to copy the file there. Truly futuristic stuff!
This commit is contained in:
parent
901d2e3236
commit
f41bbdd46e
2 changed files with 26 additions and 1 deletions
|
@ -134,6 +134,7 @@ private:
|
|||
String m_hovered_href;
|
||||
String m_hovered_href_id;
|
||||
|
||||
String m_active_href;
|
||||
String m_active_href_id;
|
||||
|
||||
// Snapshot of m_hovered_href when opening a context menu for a hyperlink.
|
||||
|
@ -179,4 +180,6 @@ private:
|
|||
RefPtr<GUI::Menu> m_context_menu_for_hyperlink;
|
||||
|
||||
Core::ElapsedTimer m_triple_click_timer;
|
||||
|
||||
Gfx::Point m_left_mousedown_position;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue