Skip to content

Commit

Permalink
fix regression tests!
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Jul 24, 2013
1 parent 0d1c84a commit 5be9488
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion libmscore/edit.cpp
Expand Up @@ -1289,6 +1289,7 @@ void Score::cmdDeleteSelectedMeasures()
break;
}

#if 0
// remove spanner
std::list<Spanner*> sl;
int tick2 = startTick + ticks;
Expand All @@ -1299,7 +1300,7 @@ void Score::cmdDeleteSelectedMeasures()
}
for (Spanner* s : sl)
score->undoRemoveElement(s);

#endif
undoRemoveMeasures(is, ie);

if (createEndBar) {
Expand Down
2 changes: 1 addition & 1 deletion libmscore/line.cpp
Expand Up @@ -436,7 +436,7 @@ QPointF SLine::linePos(int grip, System** sys)
Measure* m = score()->tick2measure(t);
if (m->tick() == t) {
m = m->prevMeasure();
x = m->pos().x() + m->width();
x = m->pos().x() + m->width() - _spatium;
}
else
x = m->tick2pos(t);
Expand Down

0 comments on commit 5be9488

Please sign in to comment.