gyro: trigger osc on data updates
This commit is contained in:
parent
db90e56e0b
commit
567f46e09a
2 changed files with 8 additions and 2 deletions
|
|
@ -1,9 +1,15 @@
|
|||
# Changelog
|
||||
|
||||
## 0.37.3
|
||||
|
||||
- bug fixes
|
||||
- gyroscope: osc sendings not properly triggered on value updates
|
||||
|
||||
|
||||
## 0.37.2
|
||||
|
||||
- bug fixes
|
||||
- osc: regression making empty `preArgs` count as one empty string argument
|
||||
- osc: regression making empty `preArgs` count as one empty string argument
|
||||
|
||||
## 0.37.1
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ class Gyroscope extends Widget {
|
|||
|
||||
this.sensor.start((data)=>{
|
||||
|
||||
this.setValue(data, {sync: true})
|
||||
this.setValue(data, {sync: true, send: true})
|
||||
|
||||
// data.do.alpha ( deviceorientation event alpha value )
|
||||
// data.do.beta ( deviceorientation event beta value )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue