Skip to content

Commit 5ce3f8a

Browse files
committed
scale calculation tested
1 parent 7b9bda7 commit 5ce3f8a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/notehead_tests.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ const NoteHeadTests = {
3434
};
3535

3636
function setContextStyle(ctx: RenderContext): void {
37-
// TODO: scale() method in SVGContext and CanvasContext should work similarly!
3837
// The final scale should be 1.8.
39-
// ctx.scale(0.9, 0.9);
40-
// ctx.scale(2.0, 2.0);
41-
ctx.scale(1.8, 1.8);
38+
ctx.scale(0.9, 0.9);
39+
ctx.scale(2.0, 2.0);
40+
//ctx.scale(1.8, 1.8);
4241

4342
ctx.font = '10pt Arial';
4443
}

0 commit comments

Comments
 (0)