rename inline functions to match global ones, prefixed with _
This commit is contained in:
parent
076b6f1c82
commit
be77882d70
2 changed files with 4 additions and 11 deletions
|
|
@ -27,7 +27,7 @@ customElement('strudel-claviature', { options: '{}' }, (props, { element }) => {
|
|||
);
|
||||
});
|
||||
|
||||
registerWidget('claviature', (id, options = {}, pat) => {
|
||||
registerWidget('_claviature', (id, options = {}, pat) => {
|
||||
options = { range: ['A0', 'C8'], scaleY: 1, scaleY: 0.5, scaleX: 0.5, ...options };
|
||||
const height = (options.upperHeight + options.lowerHeight) * options.scaleY;
|
||||
const el = getSolidWidget('strudel-claviature', id, { ...options, height });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue