mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibWeb: InProcessWebView::selected_text() should use the focused frame
This commit is contained in:
parent
684fa0f99b
commit
7eeecbc0f3
Notes:
sideshowbarker
2024-07-19 03:20:58 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/7eeecbc0f3c
1 changed files with 1 additions and 2 deletions
|
@ -115,8 +115,7 @@ void InProcessWebView::select_all()
|
|||
|
||||
String InProcessWebView::selected_text() const
|
||||
{
|
||||
// FIXME: Use focused frame
|
||||
return page().main_frame().selected_text();
|
||||
return page().focused_frame().selected_text();
|
||||
}
|
||||
|
||||
void InProcessWebView::page_did_layout()
|
||||
|
|
Loading…
Add table
Reference in a new issue