From c6f2151b1589c91292563a1b319cdbd193834d67 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Tue, 7 Jun 2011 18:45:32 +0000 Subject: 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 --- muse2/muse/midiedit/dcanvas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'muse2/muse/midiedit/dcanvas.h') diff --git a/muse2/muse/midiedit/dcanvas.h b/muse2/muse/midiedit/dcanvas.h index 868113a6..a2d0f7de 100644 --- a/muse2/muse/midiedit/dcanvas.h +++ b/muse2/muse/midiedit/dcanvas.h @@ -57,7 +57,7 @@ class DrumCanvas : public EventCanvas { virtual Undo moveCanvasItems(CItemList&, int, int, DragType); virtual UndoOp moveItem(CItem*, const QPoint&, DragType); virtual CItem* newItem(const QPoint&, int); - virtual void resizeItem(CItem*, bool); + virtual void resizeItem(CItem*, bool, bool); virtual void newItem(CItem*, bool); virtual void newItem(CItem*, bool, bool replace ); virtual bool deleteItem(CItem*); -- cgit v1.2.3