Commit graph

2257 commits

Author SHA1 Message Date
DD Liu
8416d1a9db Merge branch 'develop' into ymlUpdate 2019-07-31 11:08:01 -04:00
DD Liu
1342511a12
use the same version of canvas as canvas-prebuilt (#878) 2019-07-31 11:04:27 -04:00
DD Liu
6a12888472 Merge branch 'develop' of github.com:LLK/scratch-paint into ymlUpdate 2019-07-31 11:00:41 -04:00
DD Liu
505d39ae81 try to fix jobs 2019-07-30 21:47:40 -04:00
DD Liu
8c7d0da5db use jobs 2019-07-30 19:13:32 -04:00
DD Liu
0c0910a8d5 match canvas version with canvas-prebuilt 2019-07-30 18:29:24 -04:00
DD Liu
5ba709cf76 remove some stuff I don't think we need 2019-07-30 18:22:38 -04:00
DD Liu
09e1e95b26 Try to use addons instead of sudo 2019-07-30 10:25:57 -04:00
DD Liu
585ba2acda
Downgrade canvas prebuilt because 2.0 isn't working and breaks unit tests (#876) 2019-07-30 10:20:27 -04:00
DD Liu
f45b454e11 Downgrade canvas prebuilt because 2.0 isn't working and breaks unit tests 2019-07-30 10:18:03 -04:00
DD Liu
a6257f9702
Travis only use node 8 (#875)
* Set node version for deploy

* Previous thing doesnt work unless we use jobs. just use node 8 for now.
2019-07-29 14:57:13 -04:00
DD Liu
8b20118097
Set node version for deploy (#874) 2019-07-29 14:12:29 -04:00
DD Liu
475ba3d5d6
Update version changed deps (#873) 2019-07-29 13:02:51 -04:00
greenkeeper[bot]
12b6f88940 fix(package): update @scratch/paper to version 0.11.20190729152410 (#872) 2019-07-29 11:34:10 -04:00
DD Liu
9b2c719a8d
chore(package): update autoprefixer to version 9.6.1 (#870)
Closes #780
2019-07-24 11:32:00 -04:00
DD Liu
cd5c99de80
chore(package): update regenerator-runtime to version 0.13.3 (#869)
Closes #775
2019-07-24 11:30:39 -04:00
DD Liu
f9dda99da7
Greenkeeper/monorepo.enzyme 1.5.0 (#868)
* chore(package): update enzyme to version 3.6.0

Closes #624

* chore(package): update enzyme-adapter-react-16 to version 1.5.0

Closes #624
2019-07-24 11:30:26 -04:00
DD Liu
c81a334f9b
Revert latest svg render change (#867) 2019-07-18 13:52:33 -04:00
greenkeeper[bot]
6f897365fb Update scratch-svg-renderer to the latest version 🚀 (#865)
* fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20190715144718

* Update to latest svg renderer
2019-07-15 11:49:18 -04:00
Paul Kaplan
73fcbef28d Always use passive: false on touch move drag handler events (#858) 2019-07-15 11:48:20 -04:00
Andrew Sliwinski
c93b0fa2c3
Merge pull request #864 from LLK/greenkeeper/lodash.defaultsdeep-4.6.1
Update lodash.defaultsdeep to the latest version 🚀
2019-07-15 10:35:11 -04:00
greenkeeper[bot]
8eeab84328 chore(package): update lodash.defaultsdeep to version 4.6.1 2019-07-10 00:44:22 +00:00
Paul Kaplan
3357ba8954
Merge pull request #854 from paulkaplan/fix-initial-zoom-scrollbars
Make scrollbars show up at initial zoom-to-fit size
2019-06-24 09:25:22 -04:00
Paul Kaplan
4d9aac9bf9
Merge pull request #853 from paulkaplan/touch-scrollbars
Make scrollbars touch accessible.
2019-06-21 09:05:13 -04:00
Paul Kaplan
fc08becbf3 Only update view bounds if zoomToFit was truthy 2019-06-21 08:56:32 -04:00
Paul Kaplan
abc5b66395 Make scrollbars touch accessible.
The GUI which uses the same getEventXY helpers just wire up both touch and mouse events instead of just mouse events
2019-06-13 11:44:06 -04:00
Paul Kaplan
867935d185 Force an update after zooming to fit to make scrollbars update.
Fixes https://github.com/LLK/scratch-paint/issues/851
2019-06-13 11:38:02 -04:00
Paul Kaplan
8e91dcd7dc
Merge pull request #844 from LLK/greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20190523193400
Update scratch-svg-renderer to the latest version 🚀
2019-05-24 09:27:14 -04:00
greenkeeper[bot]
1986093ac1 fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20190523193400 2019-05-23 19:38:02 +00:00
Paul Kaplan
7ead677426
Merge pull request #842 from adroitwhiz/bitmap-convert-font-fix
When converting to bitmap, call inlineSvgFonts() on SVG string instead of SVG element
2019-05-23 14:26:08 -04:00
Karishma Chadha
6ef6c1c289
Merge pull request #843 from LLK/greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20190521170426
Update scratch-svg-renderer to the latest version 🚀
2019-05-22 17:30:13 -04:00
greenkeeper[bot]
62cc3d95cb fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20190521170426 2019-05-21 17:06:05 +00:00
adroitwhiz
4e4c02c7b4 Call inlineSvgFonts() on string instead of element 2019-05-16 16:51:36 -04:00
chrisgarrity
5310df3e9e
Merge pull request #840 from chrisgarrity/rap-hide-label
Add Rapa Nui to the wide locales
2019-05-16 13:06:16 -04:00
Chris Garrity
ca06fec0e6 Add Rapa Nui to the wide locales
Rapa Nui should show paint editor buttons without labels because they are too long to fit on small screens.
2019-05-16 12:08:46 -04:00
Karishma Chadha
19741dccfb
Merge pull request #838 from LLK/greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20190419183947
fix(package): update scratch-svg-renderer to version 0.2.0-prerelease…
2019-04-30 13:49:15 -04:00
greenkeeper[bot]
4f5af59ba9 fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20190419183947
Closes #815
2019-04-19 18:45:27 +00:00
Katie Broida
a317c26c97
Merge pull request #826 from ktbee/fix-empty-bitmap-size
Save the bitmap's height and width on the imageData as sourceHeight or sourceWidth if they are zero (an invalid value for imageData height and width)
2019-04-16 14:48:04 -04:00
Paul Kaplan
3bb933c06c
Merge pull request #833 from Jacco/develop
Pan/zoom with tool #401 #638
2019-03-18 13:02:13 -04:00
Jacco Kulman
b0bdc1eef0
Update scrollable-canvas.jsx
Missing semicolon added
2019-03-12 08:14:05 +01:00
Paul Kaplan
c452e14f12
Merge pull request #831 from paulkaplan/fix-black-hole
Change fill logic to prevent setting gradients by accident
2019-03-11 10:59:36 -04:00
Paul Kaplan
5a3cb1c8de Change fill logic to prevent setting gradients by accident 2019-03-06 13:26:13 -05:00
Katie Broida
75723a7ae2 Save zero width and height on bitmap's imageData object 2019-03-05 15:22:20 -05:00
Katie Broida
2f5c37910f Invert while loop order for checking bounds so that bottom and right end at 0,0
Ending our bounds check at 0,0 will pass 1,1 for empty bitmaps as the x and y values to calculate the skin's rotation center.
2019-02-08 16:15:00 -05:00
Jacco Kulman
a0edeb7d9c Pan/zoom with tool #401 2019-02-06 12:10:17 +01:00
Paul Kaplan
f95d458b45
Merge pull request #819 from paulkaplan/touch-eye-dropper
Make eyedropper work on touch, fix related bugs
2019-01-14 15:41:32 -05:00
Paul Kaplan
8e8701f6d3 Fix a bug with the loupe where it would be blank on first render.
Wasn't much of an issue when using only mousemove because that was called many times, but calling on mousedown makes the first blank frame more obvious.
2019-01-14 10:23:15 -05:00
Paul Kaplan
7f1c0c2a65 Move eyedropper callback into mouseUp to allow dragging the loupe around 2019-01-14 10:19:39 -05:00
Paul Kaplan
13052b967e Fix previousTool=null bug from Sentry 2019-01-14 10:07:06 -05:00
DD Liu
ec6c416468
Update deps to support newlines (#805) 2018-12-20 14:28:14 -05:00