File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -3304,15 +3304,11 @@ void Score::cmdIncDecDuration(int nSteps, bool stepDotted)
33043304 pasteStaff (e, selection ().startSegment (), selection ().staffStart (), scale);
33053305 return ;
33063306 }
3307- if (selection ().isList () && selection ().elements ().size () > 1 ) {
3308- // List - act as if pressing duration toggle (distinct from range based Half/Double
3309- TDuration newDuration (stepDotted
3310- ? m_is.duration ().shiftRetainDots (nSteps, stepDotted)
3311- : m_is.duration ().shift (nSteps));
3312- m_is.duration ().shiftRetainDots (nSteps, stepDotted);
3313- m_is.setDuration (newDuration);
3307+ if (selection ().isList ()) {
33143308 std::set crs = getSelectedChordRests ();
3315- for (auto cr : getSelectedChordRests ()) {
3309+ for (ChordRest* cr : getSelectedChordRests ()) {
3310+ TDuration newDuration (stepDotted ? cr->durationType ().fraction () * Fraction (3 , (3 + nSteps))
3311+ : cr->durationType ().fraction ()* Fraction (3 - nSteps, 3 + nSteps));
33163312 changeCRlen (cr, newDuration);
33173313 }
33183314 for (auto cr : crs) {
You can’t perform that action at this time.
0 commit comments