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

Some missing icons and detected legacy code #9803

Open
jlaungos opened this issue Jan 11, 2025 · 0 comments
Open

Some missing icons and detected legacy code #9803

jlaungos opened this issue Jan 11, 2025 · 0 comments

Comments

@jlaungos
Copy link

Expected Behavior

All of the icons would be loaded once the page is rendered, as shown by the 1st screenshot below.

Actual Behavior

Some of the icons have a "broken image" icons, as shown by the 2nd screenshot below.

Steps to Reproduce

I tried to embed the scratch GUI interface into my own website using the below code snippet after downloading scratch-gui through npm install https://github.com/scratchfoundation/scratch-gui.git

import React from 'react';
import GUI, { AppStateHOC } from 'scratch-gui';

const WrappedGUI = AppStateHOC(GUI);

function ScratchEmbed() {
    return (
        <WrappedGUI  
            locale="en"
            projectId={0}
            canEditTitle
            width="100%"
            height="100%" 
        />
    )
}

export default ScratchEmbed;

System Details

Windows operating system for all web browsers.

Screenshots
Scratch_3 0_editor

image

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

No branches or pull requests

1 participant