mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
WS: make ArdourClient extend Component
This allows the client object to be observed using the on() method just like with the mixer and transport components, instead of passing separate callbacks. See mixer-demo/js/main.js for an example.
This commit is contained in:
parent
1369076c14
commit
d65e1170b9
8 changed files with 51 additions and 66 deletions
|
|
@ -53,7 +53,7 @@ export default class Plugin extends AddressableComponent {
|
|||
if (node.startsWith('strip_plugin_param')) {
|
||||
if (node == StateNode.STRIP_PLUGIN_PARAM_DESCRIPTION) {
|
||||
this._parameters[addr] = new Parameter(this, addr, val);
|
||||
this.notify('parameters');
|
||||
this.notifyPropertyChanged('parameters');
|
||||
return true;
|
||||
} else {
|
||||
if (addr in this._parameters) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue