Commit Graph
4850 Commits
Author SHA1 Message Date
Paul Kaplan f41c5764ff Use more generic download-url and remove older download-text utility 2019-02-01 13:17:43 -05:00
apple502j 2a36f49d7c Export costumes and sounds 2019-01-27 19:21:15 +09:00
picklesrus ef59643c94 Merge pull request #4424 from picklesrus/sound-test
Fix test broken in #4422 by updating the snapshot.
2019-01-23 17:48:33 -05:00
picklesrus 0eeff37d09 Fix test broken in #4422 by updating the snapshot. 2019-01-23 17:37:12 -05:00
Paul Kaplan 3c16bf31ec Merge pull request #4422 from paulkaplan/no-playhead-scrollbars
Add container with overflow hidden to prevent scrollbars from playhead
2019-01-23 17:05:15 -05:00
Paul Kaplan d0efc9a907 Add container with overflow hidden to prevent scrollbars from playhead 2019-01-23 17:03:23 -05:00
Paul Kaplan d4bf303eb3 Merge pull request #4421 from LLK/paulkaplan-patch-1
Update l10n
2019-01-23 16:30:48 -05:00
Paul Kaplan 3164256a5f Update l10n 2019-01-23 16:30:35 -05:00
Paul Kaplan 1225046e05 Merge pull request #4420 from LLK/revert-4419-greenkeeper/scratch-l10n-3.1.20190123150639
Revert "chore(package): update scratch-l10n to version 3.1.20190123150639"
2019-01-23 16:28:44 -05:00
Paul Kaplan c45bb2758a Revert "chore(package): update scratch-l10n to version 3.1.20190123150639" 2019-01-23 16:28:11 -05:00
Paul Kaplan f0c553e432 Merge pull request #4419 from LLK/greenkeeper/scratch-l10n-3.1.20190123150639
chore(package): update scratch-l10n to version 3.1.20190123150639
2019-01-23 16:27:49 -05:00
Paul Kaplan 9cf09f2c58 Merge branch 'develop' into greenkeeper/scratch-l10n-3.1.20190123150639 2019-01-23 16:27:41 -05:00
Paul Kaplan 655a179cb8 Merge pull request #4417 from paulkaplan/throttle-costume-updates
Throttle costume and watermark updates
2019-01-23 16:24:01 -05:00
Paul Kaplan d9c5ad6aa4 Use curried style for HOC configuration 2019-01-23 15:56:23 -05:00
Paul Kaplan f58e6a9b8a Merge pull request #4418 from LLK/greenkeeper/scratch-blocks-0.1.0-prerelease.1548272895
Update scratch-blocks to the latest version 🚀
2019-01-23 15:16:14 -05:00
greenkeeper[bot] 289840d98d chore(package): update scratch-blocks to version 0.1.0-prerelease.1548272895 2019-01-23 19:50:38 +00:00
Paul Kaplan eccbfe71a5 Throttle updates to stage images also 2019-01-23 14:49:35 -05:00
Paul Kaplan cc7a087e80 Throttle the watermark updates using the same HOC 2019-01-23 14:37:57 -05:00
Paul Kaplan 0bc6de1362 Throttle updates to assets on sprite selector item via HOC
Adds unit tests for this HOC.
2019-01-23 14:30:41 -05:00
Paul Kaplan 0910b2ece1 Remove dead code 2019-01-23 13:58:52 -05:00
Paul Kaplan 6713c7ad0f Fix issue where dragPayload was being invalidated for sprites
Use PureComponent instead since it is a simple shouldComponentUpdate check now.
2019-01-23 13:58:42 -05:00
Paul Kaplan 1c8a9aee6e Merge pull request #4414 from LLK/greenkeeper/scratch-vm-0.2.0-prerelease.20190123164824
Update scratch-vm to the latest version 🚀
2019-01-23 12:35:32 -05:00
Paul Kaplan 7485aaf03d Merge pull request #4413 from paulkaplan/improve-meter-paint-perf
Move the mask on the audio meter outside the SVG for repaint performance
2019-01-23 12:35:18 -05:00
Paul Kaplan 12c89a96f4 Merge pull request #4415 from paulkaplan/no-double-throttling
Remove the redux throttle for targets update.
2019-01-23 12:34:33 -05:00
Paul Kaplan 8e22161a7d Merge pull request #4407 from paulkaplan/no-updates-while-recording
Disable target updates while sound recording
2019-01-23 12:12:33 -05:00
greenkeeper[bot] e71f784bad chore(package): update scratch-vm to version 0.2.0-prerelease.20190123164824 2019-01-23 17:04:26 +00:00
Paul Kaplan c75e2acfb4 Remove the redux throttle for targets update.
This fixes the root cause of #2858, which is caused because we are rendering the sound editor based on the GUI editing target data, but retrieving the sound based on the vms editing target data. The throttle of the redux action was causing those to get out of sync while a project was running.

The throttle is not needed because the vm runtime already batches those updates at 30 fps. The updates that come from top-level actions like switching sprites go out immediately.

This is also a minor performance boost, because there was a few ms being spent in setting and checking timers that were not needed.
2019-01-23 12:01:23 -05:00
Paul Kaplan 99c8e61f4c Move the mask on the audio meter outside the svg for repaint performance 2019-01-23 11:01:15 -05:00
greenkeeper[bot] 28bb5c3e60 chore(package): update scratch-l10n to version 3.1.20190123150639
Closes #4408
2019-01-23 15:09:19 +00:00
Paul Kaplan 9a4ef280f8 Merge pull request #4396 from paulkaplan/improve-sound-editor-perf
Improve sound editor performance with longer sounds
2019-01-23 09:07:13 -05:00
Paul Kaplan b6e1de5000 Merge pull request #4412 from LLK/greenkeeper/scratch-vm-0.2.0-prerelease.20190118221822
chore(package): update scratch-vm to version 0.2.0-prerelease.2019011…
2019-01-23 09:06:47 -05:00
Paul Kaplan 743f7d5e7c Merge pull request #4393 from paulkaplan/fix-black-drag-transition
Remove transition on sprite tiles to make placeholder not flash black.
2019-01-23 08:47:43 -05:00
Paul Kaplan 22f6774e30 Merge pull request #4383 from paulkaplan/fix-transition-perf
Remove scale transition from green flag, stop and sound editor buttons
2019-01-23 08:45:23 -05:00
Paul Kaplan 5672a36f39 Merge pull request #4411 from LLK/greenkeeper/scratch-render-0.1.0-prerelease.20190122223537
chore(package): update scratch-render to version 0.1.0-prerelease.201…
2019-01-23 08:44:51 -05:00
Eric Rosenbaum 85d14c35ae Merge pull request #4405 from ericrosenbaum/bugfix/lego-branding
Update WeDo 2.0 extension name
2019-01-22 17:38:44 -05:00
greenkeeper[bot] a3897f0971 chore(package): update scratch-render to version 0.1.0-prerelease.20190122223537
Closes #4378
2019-01-22 22:37:13 +00:00
Paul Kaplan d3511f6020 Disable target updates while sound recording 2019-01-22 14:26:16 -05:00
Eric Rosenbaum da2f290d7f Update WeDo 2.0 extension name 2019-01-22 11:38:20 -05:00
Paul Kaplan 6b6662f569 Improve paint/composite time for sound editor while sound is playing.
Forcing the playhead onto its own painting layer removes an expensive composite with the waveform. Animate using transforms instead of left prevents layouts of the rest of the page while playing a sound.
2019-01-22 09:15:51 -05:00
Paul Kaplan bcb287cda5 Optimize Waveform component to reduce renders and cap max nodes in svg.
The waveform component was being re-rendered while the playhead changed, which is a costly operation because it has to calculate the full svg path data string.
2019-01-19 09:57:31 -05:00
Paul Kaplan f4ad5b05d7 Remove transition on sprite tiles to make placholder not flash black.
Also use white as the background since it gives the same impact and will not look bad if the filter isn't applied or takes a while to be applied
2019-01-19 09:02:22 -05:00
greenkeeper[bot] 0fe2884842 chore(package): update scratch-vm to version 0.2.0-prerelease.20190118221822
Closes #4390
2019-01-18 22:35:39 +00:00
Eric Rosenbaum ff473e8fb0 Merge pull request #3922 from evhan55/extensions/disconnect-errors
Peripheral disconnect status using new runtime/vm event
2019-01-18 16:59:22 -05:00
Benjamin Wheeler 4498ba3724 Merge pull request #4385 from LLK/revert-4374-revert-4359-delete-select
Add BorderedMenuItem and use it for delete menu, with updated style
2019-01-18 16:57:12 -05:00
Ben Wheeler 7fb57a03d8 use error-primary color rather than error-light 2019-01-18 16:47:51 -05:00
Paul Kaplan eb8746382c Merge pull request #4389 from paulkaplan/fix-sound-reord
Fix sound reorder crash
2019-01-18 15:20:48 -05:00
Paul Kaplan 1146689f42 Fix sound reorder bug.
We were emitting drops when getMouseOverIndex was null, which could happen either when the drop is outside the container, or there were zero boxes to check for ordering. Treat these two cases separately, and continue to not emit drops when outside the container.
2019-01-18 15:14:06 -05:00
Paul Kaplan 5e2055fc84 Revert "Merge pull request #4354 from paulkaplan/fix-backpack-sprite"
This reverts commit 97f8eb63b4, reversing
changes made to 2e017f060f.
2019-01-18 15:09:12 -05:00
Ben Wheeler 3bbfe94d19 reduced size, color intensity of sprite context menu separator 2019-01-18 14:12:13 -05:00
Benjamin Wheeler 1d28f52161 Revert "Revert "Adds BorderedMenuItem and use it for delete menu"" 2019-01-18 13:39:06 -05:00