Fix the outer border for the instrument track (#5594)

This commit is contained in:
Claudius Ellsel
2020-07-21 18:35:36 +02:00
committed by GitHub
parent a11fa71b94
commit 23242b9529
2 changed files with 2 additions and 2 deletions

View File

@@ -22,6 +22,7 @@
* Boston, MA 02110-1301 USA.
*
*/
#include "InstrumentTrack.h"
#include <QDir>
#include <QQueue>
@@ -37,7 +38,6 @@
#include <QPainter>
#include "FileDialog.h"
#include "InstrumentTrack.h"
#include "AutomationPattern.h"
#include "BBTrack.h"
#include "CaptionMenu.h"

View File

@@ -1123,7 +1123,7 @@ void PatternView::paintEvent( QPaintEvent * )
// outer border
p.setPen( current ? c.lighter( 130 ) : c.darker( 300 ) );
p.drawRect( rect() );
p.drawRect( 0, 0, rect().right(), rect().bottom() );
}
// draw the 'muted' pixmap only if the pattern was manually muted