kopia lustrzana https://github.com/backface/turtlestitch
changed the visualization for an empty context to reporter-ring
rodzic
604eb74352
commit
794ff6abeb
|
@ -70,6 +70,7 @@
|
|||
|
||||
### 2021-12-03
|
||||
* blocks, threads: block-assembly support for multi-args, experimental
|
||||
* threads: changed the visualization for an empty context to reporter-ring
|
||||
|
||||
### 2021-12-02
|
||||
* blocks, threads: block-assembly support refactorings, experimental
|
||||
|
|
|
@ -9934,6 +9934,7 @@ InputSlotMorph.prototype.gettablesMenu = function () {
|
|||
dict['temporary?'] = ['temporary?'];
|
||||
}
|
||||
dict.name = ['name'];
|
||||
// dict.scripts = ['scripts']; // not yet ready
|
||||
dict.costume = ['costume'];
|
||||
dict.costumes = ['costumes'];
|
||||
dict.sounds = ['sounds'];
|
||||
|
|
|
@ -5613,6 +5613,16 @@ Process.prototype.reportGet = function (query) {
|
|||
return thisObj.name;
|
||||
case 'stage':
|
||||
return thisObj.parentThatIsA(StageMorph);
|
||||
/* // not yet ready
|
||||
case 'scripts':
|
||||
return new List(
|
||||
thisObj.scripts.children.filter(
|
||||
each => each instanceof BlockMorph
|
||||
).map(
|
||||
each => each.fullCopy().reify()
|
||||
)
|
||||
);
|
||||
*/
|
||||
case 'costume':
|
||||
return thisObj.costume;
|
||||
case 'costumes':
|
||||
|
@ -6924,7 +6934,7 @@ Context.prototype.image = function () {
|
|||
|
||||
// otherwise show an empty ring
|
||||
ring.color = SpriteMorph.prototype.blockColor.other;
|
||||
ring.setSpec('%rc %ringparms');
|
||||
ring.setSpec('%rr %ringparms');
|
||||
|
||||
// also show my inputs, unless I'm a continuation
|
||||
if (!this.isContinuation) {
|
||||
|
|
Ładowanie…
Reference in New Issue