From 72feb3b65af0a5a322bab8a69188158d39e980fd Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Tue, 7 Jun 2022 21:37:52 +0200 Subject: [PATCH] pianoroll: do NOT round --- packages/tone/pianoroll.mjs | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/tone/pianoroll.mjs b/packages/tone/pianoroll.mjs index a74effa91..9233b0407 100644 --- a/packages/tone/pianoroll.mjs +++ b/packages/tone/pianoroll.mjs @@ -90,7 +90,6 @@ Pattern.prototype.pianoroll = function ({ barThickness - 2, // height ]; } - coords = coords.map((c) => Math.round(c)); isActive ? ctx.strokeRect(...coords) : ctx.fillRect(...coords); }); const playheadPosition = scale(-from / timeExtent, ...timeRange);