Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watermark is not showing up for some uploaded svgs #3748

Open
fsih opened this issue Nov 13, 2018 · 1 comment
Open

Watermark is not showing up for some uploaded svgs #3748

fsih opened this issue Nov 13, 2018 · 1 comment

Comments

@fsih
Copy link
Contributor

fsih commented Nov 13, 2018

Expected Behavior

There should be a thumbnail of the sprite in the workspace

Actual Behavior

For some uploaded SVGs none shows up
watermark

Steps to Reproduce

Upload the attached SVGs
svgs.zip

Operating System and Browser

Windows Chrome, Firefox

@BrightLin
Copy link

@thisandagain I think I found the root cause.

Modified the code like the following text, it works:

scratch-gui\src\containers\watermark.jsx

const ConnectedComponent = connect(
    mapStateToProps
)(
    // ThrottledPropertyHOC('asset', 500)(Watermark)    // The cause of this issue
    Watermark
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants