From: William <wil...@us...> - 2005-01-31 00:53:07
|
Update of /cvsroot/rosegarden/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10882/rosegarden/gui Modified Files: notepixmapfactory.cpp Log Message: * Fix for #1109989: Selection blue not applied to beams/stems/marks make sure all stems in a selected beamed group turn blue Index: notepixmapfactory.cpp =================================================================== RCS file: /cvsroot/rosegarden/gui/notepixmapfactory.cpp,v retrieving revision 1.278 retrieving revision 1.279 diff -C2 -d -r1.278 -r1.279 *** notepixmapfactory.cpp 30 Jan 2005 20:15:15 -0000 1.278 --- notepixmapfactory.cpp 31 Jan 2005 00:52:56 -0000 1.279 *************** *** 731,739 **** if (isStemmed && params.m_drawStem) { - if (m_selected) - m_p->painter().setPen(Rosegarden::GUIPalette::getColour(Rosegarden::GUIPalette::SelectedElement)); - else - m_p->painter().setPen(Qt::black); - if (flagCount > 0 && !drawFlag && params.m_beamed) { drawBeams(endPoint, params, flagCount); --- 731,734 ---- *************** *** 743,746 **** --- 738,747 ---- drawSlashes(startPoint, params, slashCount); } + + if (m_selected) + m_p->painter().setPen(Rosegarden::GUIPalette::getColour(Rosegarden::GUIPalette::SelectedElement)); + else + m_p->painter().setPen(Qt::black); + // If we draw stems after beams, instead of beams after stems, // beam anti-aliasing won't damage stems but we have to shorten the |