osc-receiver: decrement varnumber instead of incrementing
This commit is contained in:
parent
ed1336e8d2
commit
a2dffa5d93
2 changed files with 3 additions and 2 deletions
|
|
@ -5,9 +5,10 @@
|
|||
- bug fixes
|
||||
- editor: widgets/tabs not properly reordered when changing a widget or tab's index by more than 1
|
||||
- main: `--no-gui` switch not working when running the app from a different directory
|
||||
- regression causing osc receivers (`OSC{}`) to conflict with property listeners (`@{}`)
|
||||
- widgets
|
||||
- push: add `doubleTap` option
|
||||
|
||||
|
||||
## 0.40.3
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -539,7 +539,7 @@ class Widget extends EventEmitter {
|
|||
var r = this.oscReceivers[address].value
|
||||
|
||||
var varname = 'VAR_' + varnumber
|
||||
varnumber++
|
||||
varnumber--
|
||||
|
||||
variables[varname] = r
|
||||
mathscope[varname] = r
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue