Skip to content

Commit 936f80c

Browse files
committed
vtest fix
1 parent 4a4d9c3 commit 936f80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engraving/rendering/score/tlayout.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5979,7 +5979,7 @@ static void textHorizontalLayout(const TextBase* item, Shape& shape, double maxB
59795979
bool dynamicAlwaysCentered = item->isDynamic() && item->getProperty(Pid::CENTER_ON_NOTEHEAD).toBool();//TODO move to dynamic layout like marker
59805980
for (size_t i = 0; i < ldata->blocks.size(); ++i) {
59815981
TextBlock& textBlock = ldata->blocks[i];
5982-
double xAdj = leftMargin;
5982+
double xAdj = leftMargin - textBlock.boundingRect().left();
59835983

59845984
// Set position relative to reference point
59855985
AlignH position = item->position();

0 commit comments

Comments
 (0)