Skip to content

Commit

Permalink
Correct autoplace for expression when not snapping to dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-spa committed Jul 5, 2023
1 parent cac4112 commit ea81bd9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/engraving/layout/v0/tlayout.cpp
Expand Up @@ -1535,7 +1535,12 @@ void TLayout::layout(Expression* item, LayoutContext& ctx)

item->setSnappedDynamic(nullptr);

if (!item->autoplace() || !item->snapToDynamics()) {
if (!item->autoplace()) {
return;
}

if (!item->snapToDynamics()) {
item->autoplaceSegmentElement();
return;
}

Expand Down

0 comments on commit ea81bd9

Please sign in to comment.