Commit Graph
11390 Commits
Author SHA1 Message Date
Paul Kaplan 92f1d64473 Cache Renderer.isSupported because it takes 30ms every time 2018-02-27 09:33:46 -05:00
Moran T d2d15f68d4 Revert "Adding constraint on min height for large stage"
This reverts commit 0a741b1083.
2018-02-27 15:13:23 +02:00
Moran T 0a741b1083 Adding constraint on min height for large stage
Should help with smaller screen sizes, where the ratio is different (like some chromebooks)
2018-02-27 15:11:52 +02:00
chrisgarrity 5f1fe57206 Nicer crash message format
fixes #1205.

It doesn’t translate any of the text to avoid a case where translation is causing the error, and fails in the error boundary as well.
2018-02-26 21:13:24 -05:00
DD Liu c4ab9d5191 Merge pull request #1468 from fsih/blockDrag
Block drag
2018-02-26 17:31:34 -05:00
DD 0de87a8672 Update vm 2018-02-26 17:11:45 -05:00
kchadha 4de8cf1961 Merge pull request #1481 from kchadha/sb2-import
SB2 Import Modal
2018-02-26 17:02:07 -05:00
Paul Kaplan bfdc1db2e0 Don't bind in mapStateToProps to prevent sound editor re-render 2018-02-26 16:58:42 -05:00
DD 247a03fef9 Switch to mouse enter and mouse leave 2018-02-26 16:56:31 -05:00
DD fbdad71b38 Merge branch 'develop' into blockDrag 2018-02-26 16:36:07 -05:00
DD ac123d624a Merge branch 'develop' into blockDrag 2018-02-26 16:33:37 -05:00
Paul Kaplan 795a3fd641 Merge pull request #1510 from LLK/develop
Deploy February work to preview
2018-02-26 15:29:18 -05:00
Paul Kaplan b046a224fe Pass in only the props that the paint editor needs to prevent rerender 2018-02-26 15:27:28 -05:00
Paul Kaplan 5a9679fa40 Don't use bind in mapStateToProps 2018-02-26 15:27:04 -05:00
Andrew Sliwinski 9842655b1e Minor fixes to sprite library. Resolves GH-1330 GH-1355 GH-1437 GH-1442 GH-1507 2018-02-26 15:19:09 -05:00
Paul Kaplan 8747315ab2 Don't update load and save buttons.
This use of shouldComponentUpdate is wrapping the incorrect use of bind
in the mapStateToProps call.
2018-02-26 15:14:39 -05:00
Paul Kaplan 3c37383264 Merge pull request #1508 from paulkaplan/asset-menu-follow-ups
Asset menu follow ups
2018-02-26 14:39:29 -05:00
Paul Kaplan a970d66855 Fix asset menus on touch 2018-02-26 14:30:48 -05:00
Paul Kaplan e959323d8d Fix flashing tooltips while project is playing.
I also suspect this will fix some of the times when the menu
mysteriously stayed open, because it was being re-rendered for by
mistake.
2018-02-26 13:45:20 -05:00
Paul Kaplan 635a131745 Fix prop type warnings 2018-02-26 13:43:55 -05:00
Paul Kaplan 47a2f4383a Make the fade out on costume selector not block clicks 2018-02-26 12:23:33 -05:00
Paul Kaplan 75f086e065 Merge pull request #1498 from LLK/asset-menus
Add new asset menu system
2018-02-26 11:30:38 -05:00
Paul Kaplan 77972be35b Only update state if menu is not already open.
This makes it possible to use on iOS/touch
2018-02-26 11:19:47 -05:00
Paul Kaplan e56d69ccc3 Fix tests 2018-02-26 11:00:41 -05:00
Paul Kaplan 7dd4e1b870 Update and fix the default message for libraries 2018-02-26 10:58:10 -05:00
Paul Kaplan 5e5ae1728c Remove duplicate backdrop library 2018-02-26 10:47:38 -05:00
Paul Kaplan 3365d8aa55 Fix issues with asset panel buttons 2018-02-26 10:24:04 -05:00
Paul Kaplan e1efbc5bc3 Fix linting 2018-02-26 09:51:20 -05:00
Paul Kaplan 688ee5c73c Add thermometer menus with new surprise options 2018-02-26 09:51:20 -05:00
Paul Kaplan 95ef3e2914 Merge pull request #1490 from fsih/duplicateCostume
Duplicate costume
2018-02-26 09:40:46 -05:00
Paul Kaplan 73d195446d Update to scratch-vm with duplicate costume/sound api 2018-02-26 09:07:59 -05:00
Paul Kaplan 6e315fdb5c Add duplication integration tests for GUI 2018-02-26 08:26:43 -05:00
Karishma Chadha eac1151066 Minor update to regex for url validation. 2018-02-25 21:45:39 -05:00
kyleplo b7d2e287ad Update make-toolbox-xml.js 2018-02-25 13:14:56 -05:00
DD 44ce6df59e Fix tests on node 6 2018-02-23 16:49:29 -05:00
DD 12b47ddf86 Bring in Karishmas changes from save-load 2018-02-23 16:25:28 -05:00
DD 87ab4e2896 Use promises 2018-02-23 16:25:28 -05:00
DD 868e401a40 Update gui to use getter for target costumes 2018-02-23 16:25:28 -05:00
DD e63a3a7d9f Add duplicate button. Pass the costume ID to paint (the previous costume ID used matches when duplicate is used.) When switching to the costume tab, open the current costume. 2018-02-23 16:25:28 -05:00
DD cff8517bd3 fix tests 2018-02-23 16:04:16 -05:00
DD 4aa3b20a93 Add very simple end animation 2018-02-23 15:35:42 -05:00
Karishma Chadha 9f13c9e91d More style/color updates. 2018-02-23 15:05:01 -05:00
Karishma Chadha 5c39a63aaf Styling changes, code cleanup, bringing up preview modal on back buttons. 2018-02-23 13:20:18 -05:00
Paul Kaplan 8dbca67728 Merge pull request #1487 from paulkaplan/fix-costume-delete
Fix deleting in sprite selector item event bubbling
2018-02-23 12:27:37 -05:00
DD 97d6308aa5 Switch to handling block drag end in gui 2018-02-23 11:58:35 -05:00
Paul Kaplan b93d1a20e9 Force a render when deleting a sound by updating the sound index.
This is required because you can delete the last sound, and without a re
render the tab will continue to render the sound editor, causing an
error.
2018-02-23 11:38:28 -05:00
DD 5864fa5454 Add hovered sprite reducer. Rename block drag reducer to fix capitalization. 2018-02-23 11:25:28 -05:00
DD 634007df6e Remove unused prop 2018-02-23 11:15:14 -05:00
Karishma Chadha c621f19e3b Making import modal input way more permissive. 2018-02-23 09:44:51 -05:00
Karishma Chadha 727541544b Oops, fixing lint errors. 2018-02-23 09:44:51 -05:00