Skip to content

Commit

Permalink
(fixed error)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-spa authored and vpereverzev committed Jan 28, 2022
1 parent da89009 commit 7d1de9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engraving/layout/layoutsystem.cpp
Expand Up @@ -169,7 +169,7 @@ System* LayoutSystem::collectSystem(const LayoutOptions& options, LayoutContext&
// check if lc.curMeasure fits, remove if not
// collect at least one measure and the break

static constexpr acceptanceRange = 1.025; // We allow the initial width of the system to be slightly
static constexpr double acceptanceRange = 1.025; // We allow the initial width of the system to be slightly
// larger than the target system width. This avoids having to put a measure in the next system just because
// it overshoots the width by a tiny amount.
bool doBreak = (system->measures().size() > 1) && ((curSysWidth + ww) > systemWidth * acceptanceRange);
Expand Down

0 comments on commit 7d1de9c

Please sign in to comment.