# HG changeset patch # User Chris Cannam # Date 1533827392 -3600 # Node ID c0d8356e274f1ed9a4c0cc0b275421fe6ec5e893 # Parent 1d7921b1852fbee918c06795a5f90ed90dc6f476 Tidy edges of scale area on Mac diff -r 1d7921b1852f -r c0d8356e274f view/Pane.cpp --- a/view/Pane.cpp Wed Jul 04 15:34:16 2018 +0100 +++ b/view/Pane.cpp Thu Aug 09 16:09:52 2018 +0100 @@ -670,10 +670,13 @@ // SVDEBUG << "Pane::paintEvent: calling paint.save() in vertical scale block" << endl; paint.save(); + paint.setPen(Qt::NoPen); + paint.setBrush(getBackground()); + paint.drawRect(0, 0, m_scaleWidth, height()); + paint.setPen(getForeground()); - paint.setBrush(getBackground()); - paint.drawRect(0, -1, m_scaleWidth, height()+1); - + paint.drawLine(m_scaleWidth, 0, m_scaleWidth, height()); + paint.setBrush(Qt::NoBrush); scaleLayer->paintVerticalScale (this, m_manager->shouldShowVerticalColourScale(),