fix: reset pianoroll linewidth to 1

This commit is contained in:
Felix Roos
2023-07-07 08:56:47 +02:00
parent f40b57ee48
commit cdf5456b75
+2
View File
@@ -198,6 +198,8 @@ export function pianoroll({
let from = -cycles * playhead;
let to = cycles * (1 - playhead);
ctx.lineWidth = 1;
if (timeframeProp) {
console.warn('timeframe is deprecated! use from/to instead');
from = 0;