Paul Kaplan
0baf6852fc
Merge pull request #1231 from paulkaplan/fix-costume-canvas-sizing
...
Use style sizing to fix issues with Edge + flex + canvas.
2018-01-12 10:48:43 -05:00
Paul Kaplan
d41491c547
Use new renderer methods to check for WebGL.
...
Remove the WebGL checks from the error boundary. Instead, just do not
render the stage if it is not supported.
2018-01-12 09:14:20 -05:00
Paul Kaplan
e0f3441b9e
Fix NaN in test and update snapshot
2018-01-11 14:13:37 -05:00
Paul Kaplan
3c4c5a6dea
Use style sizing to fix issues with Edge + flex + canvas.
...
Additionally render the canvas at a multiplier of the device pixel
ratio, so we get hidpi images for supported screens. The fixed CSS
sizing allows us to do that.
The problem was that on Edge, flexbox apparently can grow canvas
elements, whereas on Chrome/FF the canvas width/height is respected. No
problem, we can set the width/height in CSS to fix it, which
conveniently allows us to also fix the low-res-on-retina-screens problem
at the same time.
2018-01-11 11:31:16 -05:00
Ray Schamp
5d07525b9d
Merge pull request #1195 from josiahneuberger/exit-fullscreen-escape-button
...
Exit full-screen mode by hitting escape key
2018-01-11 10:11:26 -05:00
Paul Kaplan
be6155f1d3
Merge pull request #1202 from paulkaplan/fix-firefox-sound-overflow
...
Fix firefox display and functionality issues with sound edit
2018-01-09 09:15:04 -05:00
chrisgarrity
ff3a2c9b39
WebGL unavailable modal ( #1116 )
...
Add Error Boundary (has componentDidCatch method) to handle WebGL errors and display an informative message.
2018-01-08 15:04:08 -05:00
Paul Kaplan
3b5587d930
Fix firefox display of sound editor by making sure chain is all flex
2018-01-08 10:42:33 -05:00
Josiah Neuberger
481db33d23
center/size stage-header controls in the same way as stage in fullscreen
2018-01-07 15:03:46 -05:00
Josiah Neuberger
3625c3a846
added hitting escape button exits fullscreen mode
2018-01-07 12:35:11 -05:00
chrisgarrity
1f65bb078f
Improve performance and cosmetics
...
- reduced the load time of the preview modal assets
- changed cursor to ‘pointer’ for modal buttons
2018-01-04 15:29:01 -05:00
Matthew Taylor
0e56c4db6e
Implement paint-75: Add blank costume button ( #1137 )
...
* Implement paint-75: Add blank costume button
* add backdrop icon, use default name
thanks @fsih !
2018-01-03 15:26:55 -05:00
chrisgarrity
d4a427f02a
Update preview illustration
...
Replace the placeholder illustration.
2018-01-03 13:41:02 -05:00
Paul Kaplan
435d91bb1b
Merge pull request #1157 from paulkaplan/update-xy-icons
...
Update to new XY icons
2018-01-03 11:45:59 -05:00
Paul Kaplan
2f3f447976
Update to new XY icons
2018-01-03 11:07:38 -05:00
Matthew Taylor
4743702d66
Implement GH-1074: Add "coming soon" extensions to the library ( #1132 )
...
* Add coming soon extensions to the library
This implements #1074
* don’t call `onSelect` when disabled
thanks @paulkaplan!
* add speech image to coming soon extension
2018-01-03 10:31:54 -05:00
DD Liu
1e11a92f46
apply to costumes, not sounds
2017-12-28 12:09:35 -05:00
DD Liu
eba5d0a2c6
pass in null for the delete callback when x should not be displayed
2017-12-28 11:59:54 -05:00
DD
aee6534a9a
Prevent deleting the last costume
2017-12-27 17:27:28 -05:00
Matthew Taylor
9c9e67e5a7
GH-829: Add feedback form to menu bar ( #1120 )
...
* add feedback form
This implements #829
* small style updates to the stage buttons
from @carljbowman
* remove `stageSize` for now
We eventually need this, but not yet, and it’s causing lint failure.
2017-12-27 16:09:56 -05:00
Paul Kaplan
a81ad8d404
Merge pull request #1097 from paulkaplan/add-turbo-procedures
...
Adds "run without screen refresh" to block editor.
2017-12-21 16:53:41 -05:00
Paul Kaplan
55c6ff4147
Merge pull request #1089 from paulkaplan/replace-direction-size
...
Add size and remove rotation style from sprite info area.
2017-12-21 16:53:29 -05:00
Paul Kaplan
bccceb4838
Fix proptype warning
2017-12-21 15:35:27 -05:00
chrisgarrity
24e8491ee6
Preview modals ( #1087 )
...
- implements welcome to the preview modal, and unsupported browser modal.
- will need assets updated in Jan.
2017-12-21 15:30:56 -05:00
Paul Kaplan
c6f0822e8b
Add a special class to enlarge the second row, also removing ellipses
2017-12-21 12:17:53 -05:00
Paul Kaplan
b33432ce48
Adds "run without screen refresh" to block editor.
...
Fixes #993
2017-12-21 11:49:34 -05:00
Paul Kaplan
3891cf5346
Merge pull request #1091 from paulkaplan/fix-backdrop-count
...
Remove border to stop backdrop count from looking like an input.
2017-12-21 11:08:40 -05:00
Paul Kaplan
f7258077e6
Merge pull request #1100 from paulkaplan/update-modal-name
...
Change modal title to "Make a Block"
2017-12-20 18:45:50 -05:00
Paul Kaplan
e60f720d8b
Update name of make a block modal
2017-12-20 18:17:11 -05:00
Paul Kaplan
a3e414ef54
Change "More" category to "My Blocks.
2017-12-20 18:13:23 -05:00
Paul Kaplan
db60024a38
Remove border to stop backdrop count from looking like an input.
2017-12-20 15:57:30 -05:00
Paul Kaplan
cb1afec95e
Add size and remove rotation style from sprite info area.
...
Fixes https://github.com/LLK/scratch-gui/issues/1064
2017-12-20 15:42:50 -05:00
Paul Kaplan
a0ed0c7152
Merge pull request #1084 from paulkaplan/sound-editor-updates
...
Iteration 2 of sound editor design
2017-12-20 14:50:14 -05:00
Matthew Taylor
8dc26d8d30
Partially Implement GH-830: Add coming soon tooltips ( #1069 )
...
* Implement GH-830: Add coming soon tooltips
This implements coming soon tooltips for:
* the small stage size
* save, load and language
It also creates the component that can be copied over into the paint editor for use there as well.
Lastly, this does a small refactor on the full screen implementation to include multiple small screen sizes too.
2017-12-20 14:49:27 -05:00
Paul Kaplan
28050e56c7
Iteration 2 of sound editor stylings.
...
- New icons
- Play button moved to prominent location
- Styling normalized with costume editor
2017-12-20 10:38:36 -05:00
Paul Kaplan
c48d34022f
Fix backdrop library
2017-12-15 15:36:42 -05:00
Paul Kaplan
efaf2371dc
Select the newly added costume, sound or backdrop in the editor.
2017-12-15 12:34:12 -05:00
Ray Schamp
03de3196e3
Merge pull request #667 from josiahneuberger/add-full-screen-render-view
...
Add full screen render view
2017-12-14 09:38:17 -05:00
Josiah Neuberger
ba3ff9d1f3
fixed some minor code smell problems
...
1. Removed duplication of code in stage component to avoid future
potential divergence. Now just selectively applying styling based
on states of zoomed, colorPicking, and question.
2. Fixed bottom border getting chopped in zoomed mode by adding margin
and adjusting height/width accordingly.
3. Removed shouldComponentUpdate from stageHeader as suggested from code
review. Added ignore lint warning suggesting change to stateless function.
2017-12-13 22:01:09 -05:00
David Aylaian
74bb19292a
Remove vendor prefixes and touch-callout
2017-12-11 09:37:07 -05:00
David Aylaian
ee6086ed22
Make it so that the user cannot select tabs
2017-12-08 20:10:35 -05:00
Paul Kaplan
5dbbeae6cc
Merge pull request #986 from quachtina96/libraryScreenReader
...
Make libraries screen reader accessible.
2017-12-08 12:02:37 -05:00
Tina Quach
652abb9fe3
add keypress handlers for library item
2017-12-08 10:50:06 -05:00
Paul Kaplan
c001b35616
Merge pull request #987 from quachtina96/rotation
...
Enable sprite rotation keyboard control and standardize tabbing.
2017-12-08 10:11:56 -05:00
DD
bfa966e74a
Add monitor layout algorithm
2017-12-07 15:26:56 -05:00
Paul Kaplan
7d2aef0e71
Merge pull request #970 from dalearn/develop
...
Sloves Tab Override
2017-12-06 09:58:19 -05:00
Paul Kaplan
28834b3fa4
Fix nits (h/t @fsih)
2017-12-05 10:06:15 -05:00
Paul Kaplan
1efd0befa0
Fix image sizing
2017-12-04 15:12:36 -05:00
Paul Kaplan
8a2c52da52
Custom procedures reducer, modal and block workspace.
2017-12-04 10:59:31 -05:00
Tina Quach
c36e618beb
use tabindex 0 to standardize tab order
2017-12-01 11:33:30 -05:00