From a624ec8d9d0851c430668978678b0bca3461cfb9 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Wed, 27 May 2020 11:38:01 +0200 Subject: [PATCH] tweaked IDE presentation mode rendering --- src/gui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui.js b/src/gui.js index 839d1445..82fc954f 100644 --- a/src/gui.js +++ b/src/gui.js @@ -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);