mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 18:46:34 +01:00
WebSockets: avoid duplicated node+addr hash function in JS code
This commit is contained in:
parent
22199e8845
commit
feeda2c19d
3 changed files with 10 additions and 4 deletions
|
|
@ -43,8 +43,8 @@ import { Switch, DiscreteSlider, ContinuousSlider, LogarithmicSlider,
|
|||
} else if (msg.node == 'strip_plugin_param_desc') {
|
||||
createStripPluginParam (msg.addr, ...msg.val);
|
||||
} else if (FEEDBACK_NODES.includes(msg.node)) {
|
||||
if (widgets[[msg.node, msg.addr]]) {
|
||||
widgets[[msg.node, msg.addr]].value = msg.val[0];
|
||||
if (widgets[msg.hash]) {
|
||||
widgets[msg.hash].value = msg.val[0];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue