DD Liu
89133f42e5
Update import and export types ( #412 )
...
* Import/export bitmap
* Fix playground and readme
* Use constants instead of changing zoom level for every import/export
2018-05-01 16:18:24 -04:00
DD Liu
3d99044ccf
Import and export bitmaps ( #404 )
...
* Rename svg to image
* Import/export bitmap
* Fix playground and readme
* Fix lint
* Assume strings are svgs
2018-04-26 18:45:50 -04:00
alex
2397135a3a
Merge branch 'develop' into fix-editorconfig-indent
2018-04-03 01:12:45 +01:00
DD Liu
0ff5ad991a
Merge pull request #264 from heyitsmeuralex/use-font-playground
...
Use sans-serif font in playground
2018-04-02 11:00:16 -04:00
alex
f5e17adad3
Fix editorconfig indentation rules
2018-03-26 17:17:29 +01:00
alex
ef78584045
Fix codestyle
2018-03-26 17:12:28 +01:00
DD
8ecc426844
Move the SVG in the playground back to the center of the editor. It became offscreen when the definition of rotation center changed.
2018-03-14 18:01:15 -04:00
alex
1cd68892c8
Use sans-serif font in playground
...
Caused some cascade issues where you'd see default fonts in components (i.e. serif). This is only for the playground as, I imagine, in scratch-3.0 this font style would be inherited.
2018-01-21 10:52:34 +00:00
Ray Schamp
138718008c
Add SVG id prop to track costume changes
...
Since the editor will receive an update every time the svg is updated, only re-render if the actual svg id changes.
2017-10-21 16:15:55 -04:00
Ray Schamp
303b4caced
Add props for name/onUpdateName
2017-10-21 16:15:55 -04:00
chrisgarrity
ced3563fda
Adding scratch-l10n dependency
...
* Added .tx configuation to be able to send source strings to transifex
* added dependency on scratch-l10n 2.x, and removed everything related to generating the l10n messages locally
* updated playground intl reducer to use paint messages from l10n package
2017-10-19 08:34:13 -04:00
DD
36016bbd11
Handle removing the viewbox and centering
2017-09-05 15:53:26 -04:00
DD
b0d29a946b
Pipe through updateSvg and call it whenever a tool finishes an action
2017-08-30 18:43:34 -04:00
DD
633ecd2399
load an svg string
2017-08-30 10:50:05 -04:00
DD Liu
9521203e19
move the intl stuff to playground
2017-08-22 18:22:59 -04:00
DD Liu
11d43e0006
add i18n support
2017-08-21 17:58:38 -04:00
DD Liu
a4891d22b0
code review
2017-07-27 00:34:33 -04:00
DD Liu
435f00b745
add state to switch tools, and keyboard shortcuts to do so
2017-07-17 18:39:50 -04:00
DD Liu
4cc251be24
Make a paint editor component
2017-07-13 14:03:48 -04:00