tweaks
This commit is contained in:
parent
c7f811e14d
commit
6479c60387
2 changed files with 19 additions and 14 deletions
|
|
@ -131,5 +131,5 @@ registerWidget('_pitchwheel', (id, options = {}, pat) => {
|
|||
let _size = options.size || 200;
|
||||
options = { width: _size, height: _size, ...options, size: _size / 5 };
|
||||
const ctx = getCanvasWidget(id, options).getContext('2d');
|
||||
return pat.tag(id).pitchwheel({ ...options, ctx, id });
|
||||
return pat.pitchwheel({ ...options, ctx, id });
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue