mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-12 06:08:34 +00:00
full size piano by default
This commit is contained in:
parent
1043baf08a
commit
d9d05e21c0
@ -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…
x
Reference in New Issue
Block a user