Skip to content

Commit

Permalink
fix #122426 Large space at beginning of score du to addition o TAB sy…
Browse files Browse the repository at this point in the history
…mbol
  • Loading branch information
wschweer committed Aug 30, 2016
1 parent cb6b680 commit 9255bd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libmscore/element.h
Expand Up @@ -103,6 +103,8 @@ class VoltaSegment;
class NoteLine;
class Trill;
class TrillSegment;
class Symbol;
class FSymbol;

enum class SymId;

Expand Down Expand Up @@ -732,6 +734,8 @@ class Element : public QObject, public ScoreElement {
CONVERT(NoteLine, NOTELINE)
CONVERT(Trill, TRILL)
CONVERT(TrillSegment, TRILL_SEGMENT)
CONVERT(Symbol, SYMBOL)
CONVERT(FSymbol, FSYMBOL)
#undef CONVERT
};

Expand Down Expand Up @@ -826,6 +830,8 @@ static inline const a* to##a(const Element* e) { Q_ASSERT(e == 0 || e->type() ==
CONVERT(NoteLine, NOTELINE)
CONVERT(Trill, TRILL)
CONVERT(TrillSegment, TRILL_SEGMENT)
CONVERT(Symbol, SYMBOL)
CONVERT(FSymbol, FSYMBOL)
#undef CONVERT

//---------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions libmscore/segment.cpp
Expand Up @@ -1311,6 +1311,8 @@ void Segment::createShape(int staffIdx)
&& !e->isRehearsalMark()
&& !e->isTempoText()
&& !e->isDynamic()
&& !e->isSymbol()
&& !e->isFSymbol()
&& !e->isStaffText())
s.add(e->shape());
}
Expand Down

0 comments on commit 9255bd2

Please sign in to comment.