tweaked IDE presentation mode rendering

pull/95/head
jmoenig 2020-05-27 11:38:01 +02:00
rodzic 491d184664
commit a624ec8d9d
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1966,7 +1966,8 @@ IDE_Morph.prototype.render = function (ctx) {
frame = this.stage.bounds.translateBy(
this.position().neg()
).expandBy(2);
ctx.strokeStyle = this.backgroundColor.toString();
ctx.strokeStyle = (MorphicPreferences.isFlat ? this.backgroundColor
: this.groupColor).toString();
ctx.lineWidth = 1;
ctx.beginPath();
ctx.moveTo(frame.origin.x, frame.origin.y);