kopia lustrzana https://github.com/backface/turtlestitch
support scanning for message receivers from inside a block editor
rodzic
2bcc3d7264
commit
44bf353c97
|
@ -12,7 +12,8 @@
|
||||||
* German
|
* German
|
||||||
|
|
||||||
### 2020-09-04
|
### 2020-09-04
|
||||||
* byob, blocks, objects: refactored scanning for message senders
|
* byob, blocks, objects: refactored scanning for message senders
|
||||||
|
* blocks: support scanning for message receivers from inside a block editor
|
||||||
|
|
||||||
### 2020-09-03
|
### 2020-09-03
|
||||||
* byob: experimental: Inspect & export dependencies for global custom blocks (shift-right-click for context menu)
|
* byob: experimental: Inspect & export dependencies for global custom blocks (shift-right-click for context menu)
|
||||||
|
|
|
@ -3130,7 +3130,9 @@ BlockMorph.prototype.userMenu = function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
BlockMorph.prototype.showMessageUsers = function () {
|
BlockMorph.prototype.showMessageUsers = function () {
|
||||||
var ide = this.parentThatIsA(IDE_Morph),
|
var ide = this.parentThatIsA(IDE_Morph) ||
|
||||||
|
this.parentThatIsA(BlockEditorMorph)
|
||||||
|
.target.parentThatIsA(IDE_Morph),
|
||||||
corral = ide.corral,
|
corral = ide.corral,
|
||||||
getter = (this.selector.indexOf('receive') === 0) ?
|
getter = (this.selector.indexOf('receive') === 0) ?
|
||||||
'allSendersOf' : 'allHatBlocksFor',
|
'allSendersOf' : 'allHatBlocksFor',
|
||||||
|
|
Ładowanie…
Reference in New Issue