From 2ec3103e54de83b6fd83015d3da70d6612a27bb1 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Mon, 14 Dec 2020 10:51:23 +0100 Subject: [PATCH] fixed zebra coloring for imported scripts --- HISTORY.md | 1 + src/gui.js | 1 + 2 files changed, 2 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 8b368f1c..862341e4 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -8,6 +8,7 @@ ### 2020-12-14 * new dev version * new Manual for v6.4, thanks, Brian! +* fixed zebra coloring for imported scripts ## 6.4.0 * **New Features:** diff --git a/src/gui.js b/src/gui.js index 376fcb37..5c31b7ee 100644 --- a/src/gui.js +++ b/src/gui.js @@ -4991,6 +4991,7 @@ IDE_Morph.prototype.rawOpenScriptString = function (str) { } script.setPosition(this.world().hand.position()); scripts.add(script); + script.fixBlockColor(null, true); // force zebra coloring scripts.adjustBounds(); scripts.lastDroppedBlock = script; scripts.recordDrop(