Skip to content

Commit

Permalink
Fix the outer border for the instrument track (#5594)
Browse files Browse the repository at this point in the history
  • Loading branch information
claell authored Jul 21, 2020
1 parent a11fa71 commit 23242b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tracks/InstrumentTrack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Boston, MA 02110-1301 USA.
*
*/
#include "InstrumentTrack.h"

#include <QDir>
#include <QQueue>
Expand All @@ -37,7 +38,6 @@
#include <QPainter>

#include "FileDialog.h"
#include "InstrumentTrack.h"
#include "AutomationPattern.h"
#include "BBTrack.h"
#include "CaptionMenu.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tracks/Pattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23242b9

Please sign in to comment.