push: fix osc sending, prevent when releasing & norelease==true

This commit is contained in:
jean-emmanuel 2017-04-26 18:59:46 +02:00
parent fa379124d0
commit 2e7444ae32

View file

@ -124,13 +124,13 @@ module.exports = class Push extends _widgets_base {
sendValue(v, norelease) {
if (norelease) {
if (!norelease) {
osc.send({
h: this.hash,
v: this.value
})
} else {
osc.sync({