build
This commit is contained in:
parent
98f91607cd
commit
4487834591
15 changed files with 452 additions and 520 deletions
1
docs/dist/pianoroll.js
vendored
1
docs/dist/pianoroll.js
vendored
|
|
@ -13,6 +13,7 @@ Pattern.prototype.pianoroll = function({
|
|||
const height = h / midiRange;
|
||||
this.draw((ctx, events, t) => {
|
||||
ctx.fillStyle = background;
|
||||
ctx.clearRect(0, 0, w, h);
|
||||
ctx.fillRect(0, 0, w, h);
|
||||
events.forEach((event) => {
|
||||
const isActive = event.whole.begin <= t && event.whole.end >= t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue