mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Fix hover line rendering for ResourceId-only rich resource text painting
This commit is contained in:
@@ -509,7 +509,7 @@ void RichResourceTextPaint(const QWidget *owner, QPainter *painter, QRect rect,
|
||||
|
||||
if(mouseOver && textRect.contains(mousePos) && valid)
|
||||
{
|
||||
int underline_y = textRect.bottom() + margin;
|
||||
int underline_y = textRect.bottom() - margin;
|
||||
|
||||
painter->setPen(QPen(palette.brush(QPalette::WindowText), 1.0));
|
||||
painter->drawLine(QPoint(textRect.left(), underline_y), QPoint(textRect.right(), underline_y));
|
||||
|
||||
Reference in New Issue
Block a user