- Feb 07, 2019
-
-
Paul Kaplan authored
-
Paul Kaplan authored
This was already being used for sb3s and sprite3s, but the code was repeated in different places. Make a single helper that downloads blobs, and make all download paths use it.
-
- Feb 06, 2019
-
-
Michael "Z" Goddard authored
-
Paul Kaplan authored
-
Paul Kaplan authored
-
Florrie authored
-
Michael "Z" Goddard authored
-
Paul Kaplan authored
I needed to update the player css because the editor side wasn't large enough to be useable.
-
- Feb 05, 2019
-
-
Paul Kaplan authored
We can't rely on refreshWorkspace always causing a toolbox update, so make sure to update the toolbox manually if it is needed.
-
Xu Jing authored
-
Karishma Chadha authored
-
- Feb 04, 2019
-
-
Florrie authored
-
chrisgarrity authored
Override the z-index for the blocks drag layer. At 1000, it will be over everything in the gui other than the navbar itself (monitors on the stage, tutorials, alerts, dropdown menus, etc.)
-
Luke Schlangen authored
-
Paul Kaplan authored
This fixes a problem where having a non-default locale set during the initial load would display the blocks in the default toolbox in the wrong language, because the toolbox recycling toggle in setLocale does not work on initial load because there is no editing target to refresh.
-
- Feb 03, 2019
-
-
Luke Schlangen authored
-
Luke Schlangen authored
-
- Feb 01, 2019
-
-
Florrie authored
-
Paul Kaplan authored
Since the common use-case is download/edit/re-upload, and we do not want to explode the storage size of assets (which are considerably larger with fonts inlined), just do what scratch2 did and do not inline the fonts. This is not ideal if kids want to use the costumes for other purposes, but until we can create a way to strip inlined fonts before uploading to the asset server, this is the conservative way to go.
-
Paul Kaplan authored
-
- Jan 31, 2019
-
-
Paul Kaplan authored
This fixes the issue where you could not see any new variables or custom block callers, as well as fixing the issue where the toolbox did not update from then on.
-
Paul Kaplan authored
-
- Jan 30, 2019
-
-
chrisgarrity authored
fixes https://github.com/LLK/scratch-www/issues/2587 and https://github.com/LLK/scratch-gui/issues/4428 changed menu-bar z-index to one more than monitors so drop down menus cover monitors when opened.
-
Paul Kaplan authored
This invalidates the toolbox XML when switching back to the code tab after e.g. renaming a costume, making the code tab
-
- Jan 29, 2019
-
-
Paul Kaplan authored
Need to store the rendered xml because the props can change while the blocks tab is hidden, but we re-render based on what was rendered, not the previous props (which may not have been rendered). This is similar to the `ThrottledPropertyHOC` in that there may be prop changes that do not get rendered, but in this case for a different reason. This increases the performance of switching between code and other editor tabs, as well as improving the "See Inside" performance. It makes switching to the code tab as fast as switching between sprites.
-
- Jan 28, 2019
-
-
Paul Kaplan authored
-
Paul Kaplan authored
It also avoids repeating the costly object spread, which becomes a problem for projects with a lot of sprites
-
Paul Kaplan authored
-
- Jan 27, 2019
-
-
apple502j authored
-
- Jan 25, 2019
- Jan 24, 2019
-
-
Ben Wheeler authored
-
Paul Kaplan authored
The fontInliner from the scratch-svg-renderer was changed recently to work entirely on strings, so we can use that instead of parsing/loading/possibly drawing/stringifying the entire SVG. This does not address the size-1 cache issue where the cache is invalidated any time there is more than 1 sprite. But that can be handled later. Using the 4x CPU slowdown in chrome dev tools, on a simple costume that just has a single text element the getCostumeUrl time goes from 10ms to 1ms, very important for updating in a timely way.
-
- Jan 23, 2019
-
-
Paul Kaplan authored
-
Paul Kaplan authored
-
Paul Kaplan authored
-
Paul Kaplan authored
-
Paul Kaplan authored
Adds unit tests for this HOC.
-
Paul Kaplan authored
-
Paul Kaplan authored
Use PureComponent instead since it is a simple shouldComponentUpdate check now.
-