blockly-samples
blockly-samples copied to clipboard
Disabled blocks transparent in downloaded screenshots
Check for duplicates
- [X] I have searched for similar issues before opening a new one.
Component
dev-tools/screenshot
Description
Downloaded screenshots render disabled blocks as transparent, which makes them hard to see.
Expected result: Downloaded file looking the same, with the same grid-like block background as visible in the browser.
Reproduction steps
Following the steps on the advanced playground above produces:
Stack trace
No response
Screenshots
No response
Thanks for the report. We'd happily take a patch for this one.
The code is in screenshot.js and I suspect that the problem is that there's a filter defined at the top level of the SVG that is applied to the disabled block but is somehow missed in the export.