comment out _spiral for now

This commit is contained in:
Felix Roos 2024-03-17 04:31:30 +01:00
parent be77882d70
commit 4319c43ceb

View File

@ -109,11 +109,11 @@ registerWidget('_pianoroll', (id, options = {}, pat) => {
return pat.pianoroll({ fold: 1, ...options, ctx, id });
});
registerWidget('_spiral', (id, options = {}, pat) => {
/* registerWidget('_spiral', (id, options = {}, pat) => {
options = { width: 200, height: 200, size: 36, ...options };
const ctx = getCanvasWidget(id, options).getContext('2d');
return pat.spiral({ ...options, ctx, id });
});
}); */
registerWidget('_scope', (id, options = {}, pat) => {
options = { width: 500, height: 60, pos: 0.5, scale: 1, ...options };