You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Object.values(this.callbacks).forEach( c => c.function.call(c.object, parsedData) );
seems to be doing what it's meant to, but call() doesn't seem to set c.object as this as it should.
The text was updated successfully, but these errors were encountered:
giuliomoro
changed the title
Gui: on the frontend, the control callback does not get the this it set when it got registered
Gui: on the frontend, the control callback does not get the context it set when it was registered
Jul 13, 2023
e.g.:
prints
I don't see any obvious issue in
BelaControl.js
:seems to be doing what it's meant to, but
call()
doesn't seem to setc.object
asthis
as it should.The text was updated successfully, but these errors were encountered: