summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-12-19 08:09:09 +0000
committerTim E. Real <termtech@rogers.com>2010-12-19 08:09:09 +0000
commit54dd5ec68d550408be99118c59df2a91c33183f7 (patch)
tree5f58f89a58e9c98849f7504b4416ce1d21dd1a7f /muse2
parentd393b6b9bbfeb4b31956a6c83302c4cee7856313 (diff)
Added transparency to black selection box.
Diffstat (limited to 'muse2')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index 5b914952..ddc7dfff 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -1455,7 +1455,11 @@ void PartCanvas::drawItem(QPainter& p, const CItem* item, const QRect& rect)
QPen pen(config.partColors[i], 2, clone ? Qt::DashLine : Qt::SolidLine);
pen.setCosmetic(true);
p.setPen(pen);
- p.setBrush(Qt::black);
+ //p.setBrush(Qt::black);
+ QColor c(Qt::black);
+ // Hm, put some kind of lower limit? If so do that globally to the adjustment.
+ c.setAlpha(config.globalAlphaBlend);
+ p.setBrush(c);
p.drawRect(r);
}
else {