mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Fix broken image for numpad delete button
It turns out we are creating a data-uri SVG for the delete button, but are using string interpolation for the color. If you use hex, this breaks the image on Chrome (but not Safari). Using a standard css color keyword (alternatively using RGB) fix the issue.
This commit is contained in:
parent
a0851adc95
commit
756895f80b
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ Blockly.Colours = {
|
|||
"numPadBackground": "#547AB2",
|
||||
"numPadBorder": "#435F91",
|
||||
"numPadActiveBackground": "#435F91",
|
||||
"numPadText": "#FFFFFF",
|
||||
"numPadText": "white", // Do not use hex here, it cannot be inlined with data-uri SVG
|
||||
"valueReportBackground": "#FFFFFF",
|
||||
"valueReportBorder": "#AAAAAA"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue