Skip to content

Commit

Permalink
fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiahlukus committed Oct 30, 2023
1 parent 903f85b commit ce70444
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,12 @@ class _HomePageState extends State<HomePage> {
[Am]Give me reason, [G]Take me higher
[C]See the champions [F], Take the field now
[Am]Unify us, [G]make us feel proud
{soc}
[C]Celebration, [F]its around us
[Am]Unify us, [G]make us feel proud
{eoc}
2
[C]In the streets our, [F]hands are lifting
[Am]As we lose our, [G]inhibition
Expand Down
2 changes: 1 addition & 1 deletion lib/src/chord_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class ChordProcessor {
final lastChordWidth = textWidth(lastChordText, chordStyle);
// final sizeOfThisChord = textWidth(_chordsSoFar, chordStyle);

double leadingSpace = max(0, sizeOfLeadingLyrics - lastChordWidth);
double leadingSpace = max(0, sizeOfLeadingLyrics - lastChordWidth - 15);

final transposedChord = chordTransposer.transposeChord(_chordsSoFar);

Expand Down

0 comments on commit ce70444

Please sign in to comment.