add examples page with prerendered swatches
This commit is contained in:
parent
1dd0ff13d8
commit
9f058bd88a
6 changed files with 380 additions and 6 deletions
|
|
@ -56,9 +56,6 @@ Pattern.prototype.pianoroll = function ({
|
|||
from = 0;
|
||||
to = timeframeProp;
|
||||
}
|
||||
if (!autorange && fold) {
|
||||
console.warn('disabling autorange has no effect when fold is enabled');
|
||||
}
|
||||
const timeAxis = vertical ? h : w;
|
||||
const valueAxis = vertical ? w : h;
|
||||
let timeRange = vertical ? [timeAxis, 0] : [0, timeAxis]; // pixel range for time
|
||||
|
|
@ -190,9 +187,6 @@ export function pianoroll({
|
|||
from = 0;
|
||||
to = timeframeProp;
|
||||
}
|
||||
if (!autorange && fold) {
|
||||
console.warn('disabling autorange has no effect when fold is enabled');
|
||||
}
|
||||
const timeAxis = vertical ? h : w;
|
||||
const valueAxis = vertical ? w : h;
|
||||
let timeRange = vertical ? [timeAxis, 0] : [0, timeAxis]; // pixel range for time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue