Skip to content

Commit 7d1de9c

Browse files
mike-spavpereverzev
authored andcommitted
(fixed error)
1 parent da89009 commit 7d1de9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engraving/layout/layoutsystem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ System* LayoutSystem::collectSystem(const LayoutOptions& options, LayoutContext&
169169
// check if lc.curMeasure fits, remove if not
170170
// collect at least one measure and the break
171171

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

0 commit comments

Comments
 (0)