Closed MinekPo1 closed 1 year ago
I cannot tell if this behavior has any impact on TurboWrap/scratch-gui, or at all.
I believe this is intended. updateMonitor
is only enabled for the threads that update the variable monitors shown over the stage. Returning the raw list here is what allows the GUI to display lists. This is vanilla Scratch code anyways, so if there's something wrong, you should report it to Scratch
Expected Behavior
It seems to me that
getListContent()
is meant to return a string containing joined items.Actual Behavior
If
util.thread.updateMonitor
is true/-thy, it returns the raw value (a list of strings/numbers).Steps to Reproduce
Add the following to
test/unit/blocks_data.js
:Operating System and Browser
N/A. Tested on node v18.16.0, npm 9.1.3, though that shouldn't matter.