tweaked zoom-blocks sample scripts texture for block-fading

pull/95/head
jmoenig 2020-07-22 16:23:44 +02:00
rodzic 850dbe7618
commit f8a06ae980
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -5608,7 +5608,9 @@ IDE_Morph.prototype.userSetBlocksScale = function () {
sample = new FrameMorph();
sample.acceptsDrops = false;
sample.color = IDE_Morph.prototype.groupColor;
sample.cachedTexture = this.scriptsPaneTexture;
if (SyntaxElementMorph.prototype.alpha > 0.8) {
sample.cachedTexture = this.scriptsPaneTexture;
}
sample.setExtent(new Point(250, 180));
scrpt.setPosition(sample.position().add(10));
sample.add(scrpt);