mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 15:19:42 +00:00
UI/Qt: Fix hover_label hiding URLs
m_hover_label did not have checks if the mouse is in the same location. This caused clickable URLs to be hidden. Also shortened the label text to not be longer than half of the window.
This commit is contained in:
parent
72f093ba9f
commit
edf29857f8
Notes:
github-actions[bot]
2024-12-04 16:10:49 +00:00
Author: https://github.com/Sidicer
Commit: edf29857f8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1176
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/tcl3
3 changed files with 36 additions and 6 deletions
|
@ -403,6 +403,7 @@ void WebContentView::mouseMoveEvent(QMouseEvent* event)
|
|||
}
|
||||
|
||||
enqueue_native_event(Web::MouseEvent::Type::MouseMove, *event);
|
||||
QWidget::mouseMoveEvent(event);
|
||||
}
|
||||
|
||||
void WebContentView::mousePressEvent(QMouseEvent* event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue