This commit is contained in:
Felix Roos 2024-04-01 23:21:32 +02:00
parent c7f811e14d
commit 6479c60387
2 changed files with 19 additions and 14 deletions

View file

@ -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 });
});