Commit Graph
317 Commits
Author SHA1 Message Date
Ivan Wang 3e497794de Only drag sprites when mousedown starts on the sprite 2017-04-11 17:41:18 -07:00
Paul Kaplan 18e8f89adb Merge pull request #300 from paulkaplan/fix-sound-icons
Fix audio images in sounds tab
2017-04-06 09:36:28 -04:00
Paul Kaplan 23820f98fc Fix audio image in sounds tab 2017-04-05 10:03:21 -04:00
Ray Schamp 46c10d1591 Fix costume loading in sprite info pane and costumes tab (#290)
* Fix costume loading in sprite info pane

Requires LLK/scratch-vm#517

* Fix costume loading in costumes tab

Requires LLK/scratch-vm#517
2017-04-04 12:47:38 -04:00
Paul Kaplan 13ef8aa229 Merge pull request #293 from paulkaplan/fix-sound-library-loader
Use decodeSound and scratch storage for loading sounds
2017-04-04 10:01:23 -04:00
Paul Kaplan 357bb98afa Merge pull request #292 from paulkaplan/use-backdrop-library
Use backdrop library in costume tab
2017-04-04 09:05:29 -04:00
Paul Kaplan 3235de8054 Use decodeSound and scratch storage for loading sounds 2017-04-03 13:39:25 -04:00
Ray Schamp d8f0464cfb Fix warning from SpriteInfo on initialization (#291) 2017-04-03 12:21:40 -04:00
Ray Schamp 193615c668 Update dependencies (#287)
* chore(package): update autoprefixer to version 6.7.7

https://greenkeeper.io/

* chore(package): update css-loader to version 0.28.0

Closes #231

https://greenkeeper.io/

* chore(package): update postcss-simple-vars to version 3.1.0

https://greenkeeper.io/

* chore(package): update react-modal to version 1.7.3

https://greenkeeper.io/

* chore(package): update react-style-proptype to version 2.0.2

https://greenkeeper.io/

# Conflicts:
#	package.json

* chore(package): update style-loader to version 0.16.1

Closes #253

https://greenkeeper.io/

* chore(package): update webpack to version 2.3.2

Closes #264

https://greenkeeper.io/
2017-04-01 19:02:44 -04:00
Paul Kaplan fb0febad03 Use backdrop library in costume tab 2017-03-31 14:01:44 -04:00
Paul Kaplan d0f8d9a990 Merge pull request #282 from paulkaplan/fix-costume-backdrop-loading
Fix backdrop and costume loading from libraries
2017-03-31 12:52:14 -04:00
Paul Kaplan 7b2166fb4a Include default bitmap resolution as required by the vm 2017-03-31 12:36:18 -04:00
Paul Kaplan dcaec8edbd Merge pull request #283 from paulkaplan/required-prop-types
Stricter PropType validation
2017-03-28 12:04:36 -04:00
Paul Kaplan 402f85ef91 Add isRequired to required prop types 2017-03-28 10:19:00 -04:00
Paul Kaplan 32d0ba403a Use new addCostume API 2017-03-27 15:05:28 -04:00
Paul Kaplan a51d90b908 Merge pull request #266 from paulkaplan/fix-listener-functions
Change #off to #removeListener
2017-03-27 12:09:03 -04:00
Paul Kaplan 7ad841d2ac Change on to addListener 2017-03-27 10:07:26 -04:00
Paul Kaplan 4b38eb1d7b Change #off to #removeListener 2017-03-27 10:07:26 -04:00
Chris Willis-Ford 47d6cf7441 Merge pull request #261 from cwillisf/use-storage
Use scratch-storage
2017-03-23 22:13:59 -07:00
Christopher Willis-Ford 2be8205aee Move scratch-storage init/attach to vmListenerHOC
Attaching the storage module in `vmListenerHOC` means it can propagate
down to the GUI, stage, and blocks naturally. The default VM property
value has been removed from those places so that we're not instantiating
extra VM instances any more. Instead, using one of those components
outside of the `vmListenerHOC` framework will require providing a VM
instance as a property.
2017-03-23 11:58:07 -07:00
Paul Kaplan 9fcc66efb8 Merge pull request #265 from paulkaplan/tabbed-sounds
Tabbed sound and costume panels
2017-03-23 11:55:35 -04:00
Paul Kaplan e271eed992 Remove unused sound callback 2017-03-23 10:18:15 -04:00
Paul Kaplan 9e9a4f44e9 Fix proptype validation 2017-03-23 09:46:32 -04:00
Paul Kaplan 9f51f56217 Integrate styling feedback from @TheBrokenRail 2017-03-23 09:46:32 -04:00
Paul Kaplan 78f48dd3ec Use container for selector to handle behavioral callbacks 2017-03-23 09:46:32 -04:00
Paul Kaplan a8c373a31f Use explicit version for react-tabs 2017-03-23 09:46:31 -04:00
Paul Kaplan 37803aa4d3 Add sound and costume tabs 2017-03-23 09:46:31 -04:00
Paul Kaplan c7d7562bb5 Merge pull request #257 from paulkaplan/sound-library
Sound library first iteration
2017-03-23 09:45:49 -04:00
Christopher Willis-Ford d79a25aa1e Move scratch-storage init/attach from stage to GUI 2017-03-22 21:17:14 -07:00
Paul Kaplan 4c23f42196 Add sound library component and action
Remove target pane button and actions

Add back putting the sound library in the ui
2017-03-22 15:57:52 -04:00
Paul Kaplan 588445e852 Merge pull request #263 from paulkaplan/fix-blocks-borders
Fix block editor borders
2017-03-21 19:23:24 -04:00
Paul Kaplan 915b2862f0 Style blocks panel borders 2017-03-21 07:57:01 -04:00
Christopher Willis-Ford 4f66fbc48b Create ScratchStorage instance & give it to the VM
There are a handful of places where the GUI code could use the storage
module directly; converting those is for a later change.
2017-03-20 15:28:37 -07:00
Steven Dale 5350b7abe1 SpriteInfo: Radio Buttons Toggles + Better Classnames (#250)
Fixes #156 + refactored classnames to style guide conventions
2017-03-20 17:37:50 -04:00
Steven Dale 648aebaa45 Made UI elements non-selectable (#234)
Affects SpriteSelector Pane, StageSelector Pane, Stage, MenuBar, Libraries Modal, Add/Import buttons, for Chrome, Ffx + Safari on Sierra.

Fixes #162
2017-03-20 16:26:15 -04:00
Andrew Sliwinski 002dbf2f6e Merge pull request #239 from paulkaplan/simple-blocks-bg-pattern
Add simple blocks background pattern
2017-03-13 11:51:18 -04:00
Paul Kaplan 10b1206cc2 Add simple blocks background pattern 2017-03-13 10:29:56 -04:00
TheBrokenRail d7ae5411b0 Fix sprites in drop-down (#94)
* Update blocks.js
2017-03-10 14:26:52 -05:00
Paul Kaplan 81dc9c8c70 Merge pull request #232 from paulkaplan/per-target-workspace-view
Store the scroll/zoom of the workspace on a per-target basis
2017-03-10 11:22:45 -05:00
Paul Kaplan 3bd97f47e4 Listen to translate and zoom functions and store values based on target id 2017-03-10 10:57:31 -05:00
Ray Schamp 40eeabdd6b Fix story letter SVGs in the sprite library (#230)
Fixes #220
2017-03-09 15:32:37 -05:00
Ray Schamp d44db81974 Revert "Filter toolbox to blocks available to the VM" (#229) 2017-03-09 14:08:16 -05:00
Ray Schamp 8ae968f350 Update dependencies (#228)
* chore(package): update react-redux to version 5.0.3

https://greenkeeper.io/

* chore(package): update style-loader to version 0.13.2

https://greenkeeper.io/

* chore(package): update react-modal to version 1.7.2

Closes #151

https://greenkeeper.io/

* chore(package): update postcss-loader to version 1.3.3

https://greenkeeper.io/

* chore(package): update babel-loader to version 6.4.0

https://greenkeeper.io/

* chore(package): update css-loader to version 0.26.4

Closes #133

https://greenkeeper.io/

* Trust babel for the future
2017-03-09 11:55:14 -05:00
Paul Kaplan 8767839529 Merge pull request #227 from paulkaplan/sprite-delete-button
Sprite delete button
2017-03-09 11:51:35 -05:00
Paul Kaplan 12d8e1ed07 Satisfy the ravenous hunger of the linter for newb blood 2017-03-09 11:20:15 -05:00
Paul Kaplan 6a2bb3d6ad Show delete button only when sprite is selected 2017-03-09 11:20:15 -05:00
Paul Kaplan a853ddf213 Use shared close button for deleting sprites 2017-03-09 11:20:15 -05:00
Paul Kaplan a28be80b61 Move modal close button to shared component 2017-03-09 11:20:15 -05:00
Paul Kaplan c78bd82469 Fix whitespace in a few places 2017-03-09 11:16:51 -05:00
Paul Kaplan 7f2e977d68 Add unstyled delete button for sprites 2017-03-09 11:16:51 -05:00