Bugfixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
exports.__esModule = true;
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ZoomOSC_Basic = void 0;
|
||||
var node_osc_1 = require("node-osc");
|
||||
exports.ZoomOSC_Basic = {
|
||||
@@ -18,8 +18,8 @@ exports.ZoomOSC_Basic = {
|
||||
var port = connection.properties.port;
|
||||
var header = connection.properties.header;
|
||||
var client = new node_osc_1.Client(ip, port);
|
||||
client.send("/" + header + "/" + properties.target + "/" + oscAction, properties.targetValue, function () {
|
||||
status("OSC Action " + oscAction + " has been called with " + properties.targetValue, 'info');
|
||||
client.send("/".concat(header, "/").concat(properties.target, "/").concat(oscAction), properties.targetValue, function () {
|
||||
status("OSC Action ".concat(oscAction, " has been called with ").concat(properties.targetValue), 'info');
|
||||
client.close();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user