Commit 1ee66330 authored by Ralf Habacker's avatar Ralf Habacker

Increase shape part for resize marker to make it easier to select in low zoom levels

CCBUG:389357
parent 0cdd90dd
......@@ -500,10 +500,10 @@ QPainterPath CombinedFragmentWidget::shape() const
{
const qreal w = width();
const qreal h = height();
const qreal s = selectionMarkerSize * resizeMarkerLineCount;
const QFontMetrics &fm = getFontMetrics(FT_NORMAL);
const int fontHeight = fm.lineSpacing();
const qreal s = selectionMarkerSize * resizeMarkerLineCount + 4;
const qreal r = defaultMargin / 2.0;
qreal lw = m_labelWidth + r;
qreal lh = labelHeight + r;
......
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