diff --git a/src/rendering/glyphs/GhostParenthesisGlyph.ts b/src/rendering/glyphs/GhostParenthesisGlyph.ts index d03d9414b..92136ec65 100644 --- a/src/rendering/glyphs/GhostParenthesisGlyph.ts +++ b/src/rendering/glyphs/GhostParenthesisGlyph.ts @@ -44,6 +44,5 @@ export class GhostParenthesisGlyph extends Glyph { 3 ); } - canvas.fill(); } } diff --git a/src/rendering/glyphs/ScoreBendGlyph.ts b/src/rendering/glyphs/ScoreBendGlyph.ts index 59454f543..9469a270f 100644 --- a/src/rendering/glyphs/ScoreBendGlyph.ts +++ b/src/rendering/glyphs/ScoreBendGlyph.ts @@ -162,7 +162,6 @@ export class ScoreBendGlyph extends ScoreHelperNotesBaseGlyph { 22, 4 ); - canvas.fill(); } else { this.drawBendSlur( canvas, @@ -194,7 +193,6 @@ export class ScoreBendGlyph extends ScoreHelperNotesBaseGlyph { 22, 4 ); - canvas.fill(); } else { this.drawBendSlur( canvas, diff --git a/src/rendering/glyphs/ScoreWhammyBarGlyph.ts b/src/rendering/glyphs/ScoreWhammyBarGlyph.ts index cc4f28ee1..43a5c2b08 100644 --- a/src/rendering/glyphs/ScoreWhammyBarGlyph.ts +++ b/src/rendering/glyphs/ScoreWhammyBarGlyph.ts @@ -197,7 +197,6 @@ export class ScoreWhammyBarGlyph extends ScoreHelperNotesBaseGlyph { 22, 4 ); - canvas.fill(); } break; case WhammyType.Dive: @@ -232,7 +231,6 @@ export class ScoreWhammyBarGlyph extends ScoreHelperNotesBaseGlyph { 22, 4 ); - canvas.fill(); } break; case WhammyType.Dip: @@ -280,7 +278,6 @@ export class ScoreWhammyBarGlyph extends ScoreHelperNotesBaseGlyph { 22, 4 ); - canvas.fill(); } } else { let middleX: number = (startX + endX) / 2; diff --git a/src/rendering/glyphs/TieGlyph.ts b/src/rendering/glyphs/TieGlyph.ts index c49ad0ea1..446487efd 100644 --- a/src/rendering/glyphs/TieGlyph.ts +++ b/src/rendering/glyphs/TieGlyph.ts @@ -102,8 +102,6 @@ export class TieGlyph extends Glyph { 4 ); } - - canvas.fill(); } } @@ -190,6 +188,7 @@ export class TieGlyph extends Glyph { canvas.quadraticCurveTo(cp1X, cp1Y, x2, y2); canvas.quadraticCurveTo(cp2X, cp2Y, x1, y1); canvas.closePath(); + canvas.fill(); } private static readonly BendSlurHeight: number = 11; diff --git a/test-data/visual-tests/notation-legend/bends-default.png b/test-data/visual-tests/notation-legend/bends-default.png index 200162c9f..04b4a6ec4 100644 Binary files a/test-data/visual-tests/notation-legend/bends-default.png and b/test-data/visual-tests/notation-legend/bends-default.png differ diff --git a/test-data/visual-tests/notation-legend/full-default.png b/test-data/visual-tests/notation-legend/full-default.png index 75d4b2256..b3f309d8f 100644 Binary files a/test-data/visual-tests/notation-legend/full-default.png and b/test-data/visual-tests/notation-legend/full-default.png differ