Sequencer: Fix bug in fitting scale to viewport.
This commit is contained in:
parent
ee872467fb
commit
53ff9621ff
|
@ -292,7 +292,7 @@ Canvas::_update_row_mapping ( void )
|
||||||
else
|
else
|
||||||
m.maxh = 128;
|
m.maxh = 128;
|
||||||
|
|
||||||
m.vp->h = min( m.vp->h, m.maxh );
|
m.vp->h = max( m.vp->h, m.maxh );
|
||||||
|
|
||||||
resize_grid();
|
resize_grid();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue