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
Some have a payload (most), but some do not (Inputs). So when you do the context.payload instanceof ClassicPreset.InputControl check, it'll be true for outputs but not for outputs...
What's going on here? Am I missing something? I've read the documentation a lot, and even some of the source code, and still have a hard time understanding what's going on.
Any help would be greatly appreciated.
Cheers.
(awesome project, started supporting on Patreon)
The text was updated successfully, but these errors were encountered:
Closing as I found a workaround (even if I still don't get what's going on), and I don't want to waste any help considering how many questions I have... Sorry for the noise.
I'm working on having custom controls (i'll ultimately have a lot of them, custom inputs, custom outputs, and custom controls).
Just spent 3 hours tracking down a bug, and it came down to this: in the "customize" thingie:
Some have a payload (most), but some do not (Inputs). So when you do the
context.payload instanceof ClassicPreset.InputControl
check, it'll be true for outputs but not for outputs...What's going on here? Am I missing something? I've read the documentation a lot, and even some of the source code, and still have a hard time understanding what's going on.
Any help would be greatly appreciated.
Cheers.
(awesome project, started supporting on Patreon)
The text was updated successfully, but these errors were encountered: