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:
Sidicer 2024-08-24 03:18:57 +03:00 committed by Sam Atkins
commit edf29857f8
Notes: github-actions[bot] 2024-12-04 16:10:49 +00:00
3 changed files with 36 additions and 6 deletions

View file

@ -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)