From 042ddb043b11f125c10936f5ecdc7f7dca0ba72b Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Wed, 11 Sep 2019 15:28:08 -0700 Subject: [PATCH] Added hideChaff calls to the custom fields demo. --- demos/custom-fields/turtle/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demos/custom-fields/turtle/index.html b/demos/custom-fields/turtle/index.html index f5b4cdfeb..1c012445a 100644 --- a/demos/custom-fields/turtle/index.html +++ b/demos/custom-fields/turtle/index.html @@ -113,6 +113,7 @@ } function toggleEditable() { + Blockly.hideChaff(); var blocks = workspace.getAllBlocks(); for(var i = 0, block; block = blocks[i]; i++) { block.setEditable(!block.isEditable()); @@ -120,6 +121,7 @@ } function toggleCollapsed() { + Blockly.hideChaff(); var blocks = workspace.getAllBlocks(); for(var i = 0, block; block = blocks[i]; i++) { block.setCollapsed(!block.isCollapsed());