summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-06-21 21:34:03 +0000
committerTim E. Real <termtech@rogers.com>2011-06-21 21:34:03 +0000
commitd1b2d6ec4fe4206182e0cead1e734adfc3ae6df6 (patch)
tree9d87255f327d0d6c9806b27be8fe614f27836c1a /muse2/muse
parent02941424387a064301372c12bda3e8c3ab3fee45 (diff)
Fixed wave editor position and marker drawing corruption.
Updated Yamaha m06 IDF file to version 4 by Geoff King.
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/waveedit/waveview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/waveedit/waveview.cpp b/muse2/muse/waveedit/waveview.cpp
index 1c7f74f2..cd798c40 100644
--- a/muse2/muse/waveedit/waveview.cpp
+++ b/muse2/muse/waveedit/waveview.cpp
@@ -348,7 +348,8 @@ void WaveView::setPos(int idx, unsigned val, bool adjustScrollbar)
x = opos;
}
pos[idx] = val;
- redraw(QRect(x, 0, w, height()));
+ //redraw(QRect(x, 0, w, height()));
+ redraw(QRect(x-1, 0, w+2, height())); // p4.0.28 From Canvas::draw (is otherwise identical). Fix for corruption.
}
//---------------------------------------------------------