mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-04 22:52:55 -04:00
pianoroll: do NOT round
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user