Fix the outer border for the instrument track (#5594)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user