From 513e85bf4a202edb0785755363d7d62cf76b3cd0 Mon Sep 17 00:00:00 2001 From: alschmiedt Date: Thu, 30 Jan 2020 14:11:47 -0800 Subject: [PATCH] Checks keyboardAccessibility flag before rendering (#3671) --- core/block_svg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/block_svg.js b/core/block_svg.js index 491d8ff44..fce6d3721 100644 --- a/core/block_svg.js +++ b/core/block_svg.js @@ -1672,7 +1672,7 @@ Blockly.BlockSvg.prototype.render = function(opt_bubble) { Blockly.utils.dom.stopTextWidthCache(); var cursor = this.workspace.getCursor(); - if (this.pathObject.cursorSvg_) { + if (Blockly.navigation.keyboardAccessibilityMode && this.pathObject.cursorSvg_) { cursor.draw(); } };