From ce3d79bb6c94c33efb267641ef6dc76e73a70cb2 Mon Sep 17 00:00:00 2001 From: Ivan Holmes Date: Mon, 11 Nov 2019 21:04:52 +0000 Subject: [PATCH] update piano chord wrapping --- chordsheet/render.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chordsheet/render.py b/chordsheet/render.py index 733f3ec..5eece09 100644 --- a/chordsheet/render.py +++ b/chordsheet/render.py @@ -194,7 +194,7 @@ class PianoChart(Flowable): widest = 0 for index, c in enumerate(self.pianoChordList): cKL, vL, fKN, iconWidth = self.calculate(c) - if currentWidth + iconWidth >= availWidth + self.iconHzSpacing: + if currentWidth + iconWidth >= availWidth: vUnits += 1 currentWidth = self.chartMargin else: