mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 14:26:58 -04:00
full size piano by default
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user