fix #294082: TAB - Mixing mensural value symbols and beaming in historic tablatures is broken.
TabDurationSymbol::layout2() is responsible for setting the _beamLength for the tab duration symbol, which is used to determine the length of the line to draw. Problem is, TabDurationSymbol::layout2() is only ever called from Chord::layoutStem(), and Chord::layoutStem() is not being called at all, except from ChordRest::removeDeleteBeam(). Therefore, _beamLength is always equal to 0, which results in zero-length lines being drawn. This adds a call to TabDurationSymbol::layout2() from Chord::layout2(), so that _beamLength can be set to the correct value.
This commit is contained in:
parent
60f463f7fb
commit
f94c4ca2e1
1 changed files with 2 additions and 0 deletions
|
@ -1671,6 +1671,8 @@ void Chord::layout2()
|
|||
xOff -= minNoteDist + g->_spaceLw; // move to left by grace note right space and inter-grace distance
|
||||
}
|
||||
}
|
||||
if (_tabDur)
|
||||
_tabDur->layout2();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue