kopia lustrzana https://github.com/backface/turtlestitch
tweaked hiding / showing inherited local blocks
rodzic
5eaef5b65d
commit
4f3cd192cc
|
@ -43,6 +43,7 @@
|
|||
* objects: tweaked variable block visibility
|
||||
* objects: filter hidden blocks out from search / keyboard input results
|
||||
* objects: prevent deprecated "message" reporter from showing up in search results
|
||||
* objects: tweaked hiding / showing inherited local blocks
|
||||
|
||||
### 2021-10-07
|
||||
* objects, byob: new BlockVisibilityDialogMorph for bulk-selecting blocks to hide / show in the palette
|
||||
|
|
|
@ -3167,7 +3167,7 @@ SpriteMorph.prototype.isHidingBlock = function (aBlock) {
|
|||
if (aBlock.isCustomBlock) {
|
||||
return (
|
||||
aBlock.isGlobal ? aBlock.definition
|
||||
: this.getLocalMethod(aBlock.semanticSpec)
|
||||
: this.getMethod(aBlock.semanticSpec)
|
||||
).isHelper;
|
||||
}
|
||||
if (aBlock.selector === 'reportGetVar') {
|
||||
|
@ -3182,7 +3182,7 @@ SpriteMorph.prototype.changeBlockVisibility = function (aBlock, hideIt, quick) {
|
|||
var ide, dict, cat;
|
||||
if (aBlock.isCustomBlock) {
|
||||
(aBlock.isGlobal ? aBlock.definition
|
||||
: this.getLocalMethod(aBlock.semanticSpec)
|
||||
: this.getMethod(aBlock.semanticSpec)
|
||||
).isHelper = !!hideIt;
|
||||
} else if (aBlock.selector === 'reportGetVar') {
|
||||
this.variables.find(
|
||||
|
|
Ładowanie…
Reference in New Issue