pianoroll: do NOT round

This commit is contained in:
Felix Roos
2022-06-07 21:37:52 +02:00
parent 2f5ff44dc9
commit 72feb3b65a
-1
View File
@@ -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);