Fix ui glitch where track ticks did not line up (#4171)
This commit is contained in:
committed by
Oskar Wallgren
parent
fc5fc1cbaa
commit
87e6b48df7
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user