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
I'm setting up a loop, containing a routine with a button whose text is being set from a variable.
The button text is set to "set every repeat". This works in the Python version but the JS version produces the following code:
// update component parameters for each repeat
button.setText(foo);
// reset button to account for continued clicks & clear times on/off
button.reset()
The result is a button that's always empty.
I can work around this by setting the button text to "set every frame", but that seems to also affect the way response times are being recorded.
I'm setting up a loop, containing a routine with a button whose text is being set from a variable.
The button text is set to "set every repeat". This works in the Python version but the JS version produces the following code:
The result is a button that's always empty.
I can work around this by setting the button text to "set every frame", but that seems to also affect the way response times are being recorded.
Attached a minimal example:
Archive.zip
The text was updated successfully, but these errors were encountered: