mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-09 07:49:31 -04:00
fix: pianoroll isActive still used whole.end
This commit is contained in:
@@ -246,7 +246,7 @@ export function pianoroll({
|
||||
haps
|
||||
// .filter(inFrame)
|
||||
.forEach((event) => {
|
||||
const isActive = event.whole.begin <= time && event.whole.end > time;
|
||||
const isActive = event.whole.begin <= time && event.endClipped > time;
|
||||
const color = event.value?.color || event.context?.color;
|
||||
ctx.fillStyle = color || inactive;
|
||||
ctx.strokeStyle = color || active;
|
||||
|
||||
Reference in New Issue
Block a user