diff options
author | Robert Jonsson <spamatica@gmail.com> | 2012-07-29 12:27:39 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2012-07-29 12:27:39 +0000 |
commit | f45bff39714939eb105b2830317ec4de77bf2bb7 (patch) | |
tree | 08909341620924065f7f84c5c685800eda6ce1b6 /muse2/muse | |
parent | a6fc86a01ba952225e03b767cd609fc485964e90 (diff) |
fix zoom
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/midiedit/drumedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/midiedit/drumedit.cpp b/muse2/muse/midiedit/drumedit.cpp index 358e9197..ae8ece29 100644 --- a/muse2/muse/midiedit/drumedit.cpp +++ b/muse2/muse/midiedit/drumedit.cpp @@ -486,7 +486,7 @@ DrumEdit::DrumEdit(MusECore::PartList* pl, QWidget* parent, const char* name, un gridS2->setSpacing(0); time = new MusEGui::MTScale(&_raster, split1w2, xscale); canvas = new DrumCanvas(this, split1w2, xscale, yscale); - vscroll = new MusEGui::ScrollScale(-4, 1, yscale, dynamic_cast<DrumCanvas*>(canvas)->getOurDrumMapSize()*TH, Qt::Vertical, split1w2); + vscroll = new MusEGui::ScrollScale(-2, 1, yscale, dynamic_cast<DrumCanvas*>(canvas)->getOurDrumMapSize()*TH, Qt::Vertical, split1w2); int offset = -(MusEGlobal::config.division/4); canvas->setOrigin(offset, 0); canvas->setCanvasTools(drumeditTools); |