Checks keyboardAccessibility flag before rendering (#3671)

This commit is contained in:
alschmiedt
2020-01-30 14:11:47 -08:00
committed by GitHub
parent 4a94dc8a85
commit 513e85bf4a

View File

@@ -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();
}
};