Adds fill to svg dark path

This commit is contained in:
alschmiedt
2019-07-03 14:10:56 -07:00
parent 674bc27516
commit a7ec185c69

View File

@@ -999,11 +999,11 @@ Blockly.BlockSvg.prototype.setBorderColour_ = function() {
* @return {?string} The background colour of the block.
*/
Blockly.BlockSvg.prototype.setShadowColour_ = function() {
this.svgPathLight_.style.display = 'none';
this.svgPathDark_.style.display = 'none';
this.svgPath_.setAttribute('stroke', 'none');
var shadowColour = this.getColourShadow();
this.svgPathLight_.style.display = 'none';
this.svgPathDark_.setAttribute('fill', shadowColour);
this.svgPath_.setAttribute('stroke', 'none');
this.svgPath_.setAttribute('fill', shadowColour);
return shadowColour;
};