From 8676216ccd7615d6e827f9af5bf5e49aadca3e2c Mon Sep 17 00:00:00 2001 From: noahb01 Date: Sun, 11 Feb 2018 11:56:22 -0500 Subject: [PATCH] Fix ui glitch where track ticks did not line up --- src/tracks/Pattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracks/Pattern.cpp b/src/tracks/Pattern.cpp index e726ca2ee86..01d51fbae3a 100644 --- a/src/tracks/Pattern.cpp +++ b/src/tracks/Pattern.cpp @@ -884,7 +884,7 @@ void PatternView::paintEvent( QPaintEvent * ) const float ppt = fixedTCOs() ? ( parentWidget()->width() - 2 * TCO_BORDER_WIDTH ) / (float) m_pat->length().getTact() : - ( width() - 2 * TCO_BORDER_WIDTH ) + ( width() - TCO_BORDER_WIDTH ) / (float) m_pat->length().getTact(); const int x_base = TCO_BORDER_WIDTH;