This commit is contained in:
Rachel Fenichel
2018-03-27 16:22:50 -07:00
parent b296ffebd0
commit d85c0dab74

View File

@@ -219,6 +219,9 @@ Blockly.Grid.createDom = function(rnd, gridOptions, defs) {
{'stroke': gridOptions['colour']}, gridPattern);
}
// x1, y1, x1, x2 properties will be set later in update.
} else {
// Edge 16 doesn't handle empty patterns
Blockly.utils.createSvgElement('line', {}, gridPattern);
}
return gridPattern;
};