Fix color picker tiles only showing outline
The @windows-form-element-base mixin sets background-image, so we need to override that instead of just setting background-color. Fixes #4065
This commit is contained in:
parent
1626ecf48e
commit
b9a93faabb
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@
|
|||
let tile = document.createElement('button');
|
||||
tile.setAttribute('aria-label', colorLabels[i]);
|
||||
tile.classList.add('grid-tile');
|
||||
tile.style.backgroundColor = color;
|
||||
tile.style.background = color;
|
||||
|
||||
tile.addEventListener('click', () => {
|
||||
this.color = color;
|
||||
|
|
Loading…
Reference in a new issue