Skip to content

Commit

Permalink
Fix ui glitch where track ticks did not line up (LMMS#4171)
Browse files Browse the repository at this point in the history
  • Loading branch information
enp2s0 authored and zonkmachine committed Mar 21, 2018
1 parent 1f2f78e commit bbac23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tracks/Pattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bbac23d

Please sign in to comment.