make blocklyDropDownArrow inherit background-color and border-color (#502)

This commit is contained in:
Airhogs777 2016-07-10 08:56:47 -06:00 committed by Tim Mickel
parent 6059460a60
commit b494a0365e
2 changed files with 2 additions and 2 deletions

View file

@ -246,6 +246,8 @@ Blockly.Css.CONTENT = [
'width: 16px;',
'height: 16px;',
'z-index: -1;',
'background-color: inherit;',
'border-color: inherit;',
'}',
'.blocklyDropDownButton {',

View file

@ -160,9 +160,7 @@ Blockly.DropDownDiv.clearContent = function() {
*/
Blockly.DropDownDiv.setColour = function(backgroundColour, borderColour) {
Blockly.DropDownDiv.DIV_.style.backgroundColor = backgroundColour;
Blockly.DropDownDiv.arrow_.style.backgroundColor = backgroundColour;
Blockly.DropDownDiv.DIV_.style.borderColor = borderColour;
Blockly.DropDownDiv.arrow_.style.borderColor = borderColour;
};
/**