jean-emmanuel / open-stage-control

Libre and modular OSC / MIDI controller
https://openstagecontrol.ammd.net
GNU General Public License v3.0
714 stars 90 forks source link

[Bug]Stack Overflow #736

Closed GeneralMidi closed 3 years ago

GeneralMidi commented 3 years ago

Just playing around with this and managed to find a bug. Add the following to a menu.

image

image

jean-emmanuel commented 3 years ago

From the error message I'd say the error comes from the css property, not the script. Sidenote: don't use @{} in script.

GeneralMidi commented 3 years ago

Facepalm. Can't believe I keep forgetting that.

However, in case you feel like it, there's nothing in the css field. Here's a very minimal session with @{} in the script field. error.zip

jean-emmanuel commented 3 years ago

Using @{this} is not supported in non dynamic properties.