full size piano by default
This commit is contained in:
parent
1043baf08a
commit
d9d05e21c0
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ customElement('strudel-claviature', { options: '{}' }, (props, { element }) => {
|
|||
});
|
||||
|
||||
registerWidget('claviature', (id, options = {}, pat) => {
|
||||
options = { range: ['A0', 'C6'], scaleY: 1, scaleY: 0.5, scaleX: 0.5, ...options };
|
||||
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 });
|
||||
return pat.onFrame(id, (haps) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue