mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
unlimited scrolling on pianoroll caused pfe
This commit is contained in:
parent
7df7f98566
commit
089cfce762
1 changed files with 5 additions and 0 deletions
|
|
@ -649,6 +649,11 @@ Pianoroll::snap_to_internal (timepos_t& start, Temporal::RoundMode direction, Sn
|
||||||
void
|
void
|
||||||
Pianoroll::set_samples_per_pixel (samplecnt_t spp)
|
Pianoroll::set_samples_per_pixel (samplecnt_t spp)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (spp < 1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
CueEditor::set_samples_per_pixel (spp);
|
CueEditor::set_samples_per_pixel (spp);
|
||||||
|
|
||||||
if (view) {
|
if (view) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue