fix #280366: voltas should ignore disabled header segments
This commit is contained in:
parent
b8cddb9557
commit
0a5e55ebdf
1 changed files with 2 additions and 2 deletions
|
@ -628,12 +628,12 @@ QPointF SLine::linePos(Grip grip, System** sys) const
|
|||
const Measure* m;
|
||||
if (grip == Grip::START) {
|
||||
m = startMeasure();
|
||||
// start after clef/key
|
||||
// start after clef/keysig/timesig/barline
|
||||
qreal offset = 0.0;
|
||||
Segment* s = m->first(SegmentType::ChordRest);
|
||||
if (s) {
|
||||
s = s->prev();
|
||||
if (s) {
|
||||
if (s && s->enabled()) {
|
||||
offset = s->x();
|
||||
Element* e = s->element(staffIdx() * VOICES);
|
||||
if (e)
|
||||
|
|
Loading…
Reference in a new issue