diff options
author | Florian Jung <flo@windfisch.org> | 2011-06-07 18:45:32 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-06-07 18:45:32 +0000 |
commit | c6f2151b1589c91292563a1b319cdbd193834d67 (patch) | |
tree | b4df7786b2d03664fe45867ca8017b3f44233f8d /muse2/muse/arranger/pcanvas.cpp | |
parent | 637498c87bf1ac780d8527d0596936fcdd2c6dfc (diff) |
modified behaviour for clones:
- resizing a clone in the arranger also resizes all clones with
the same length
- same for auto-expanding in the pianoroll
- auto-expanding in the pianoroll does NOT expand for parts
which already contain hidden notes; then inserting notes
is forbidden; buggy, see below
still TODO and BUGS:
- forbidding notes doesn't work properly. the pianoroll still displays
them until the next full song update.
- that stuff must be done in the drum canvas as well
- step-rec and the score editor need support for auto-expanding
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r-- | muse2/muse/arranger/pcanvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index f7a2abde..9fefaf70 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -448,7 +448,7 @@ void PartCanvas::updateSelection() // resizeItem //--------------------------------------------------------- -void PartCanvas::resizeItem(CItem* i, bool noSnap) +void PartCanvas::resizeItem(CItem* i, bool noSnap, bool ctrl) { Track* t = ((NPart*)(i))->track(); Part* p = ((NPart*)(i))->part(); @@ -462,7 +462,7 @@ void PartCanvas::resizeItem(CItem* i, bool noSnap) if (newwidth == 0) newwidth = AL::sigmap.rasterStep(p->tick(), *_raster); - song->cmdResizePart(t, p, newwidth); + song->cmdResizePart(t, p, newwidth, !ctrl); } //--------------------------------------------------------- |