Commit 1b699f4f authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Align the refactoring icon at the bottom of the paragraph.

parent 3a88dc62
......@@ -68,7 +68,8 @@ void RefactorOverlay::paintMarker(const RefactorMarker& marker, int position,
QSize sz = icon.actualSize(QSize(INT_MAX, r.height()));
int x = r.right() + position * sz.width();
marker.rect = QRect(x, r.bottom() - sz.height(), sz.width(), sz.height()).translated(-offset.toPoint());
marker.rect = QRect(x, r.bottom() + 1 - sz.height(), sz.width(), sz.height());
icon.paint(painter, marker.rect);
m_maxWidth = qMax((qreal)m_maxWidth, x + sz.width() - offset.x());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment