tweaked syntax element alpha handling

pull/95/head
jmoenig 2020-07-21 08:39:12 +02:00
rodzic 6b3c137021
commit 795777736b
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -786,7 +786,7 @@ SyntaxElementMorph.prototype.unflash = function () {
};
SyntaxElementMorph.prototype.doWithAlpha = function (alpha, callback) {
var current = this.alpha;
var current = SyntaxElementMorph.prototype.alpha;
SyntaxElementMorph.prototype.alpha = alpha;
callback();
SyntaxElementMorph.prototype.alpha = current;

Wyświetl plik

@ -3124,7 +3124,7 @@ IDE_Morph.prototype.settingsMenu = function () {
'before it picks up an object',
new Color(100, 0, 0)
);
/*
// /*
menu.addItem(
"Block alpha...",
() => {
@ -3149,7 +3149,7 @@ IDE_Morph.prototype.settingsMenu = function () {
'set the blocks\'\nalpha value',
new Color(100, 0, 0)
);
*/
// */
}
menu.addItem(
'Microphone resolution...',