Commit graph

1037 commits

Author SHA1 Message Date
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
greenkeeper[bot]
b8b89c6f9f fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20181218153528 (#802) 2018-12-18 11:08:47 -05:00
Benjamin Wheeler
5756c2ef50 added note about npm run build to README (#801) 2018-12-17 10:53:19 -05:00
DD Liu
5ae3ade49b
Round stroke caps (#798) 2018-12-14 10:46:37 -05:00
DD Liu
1a8178808a
Limit stroke width to 100 (#796) 2018-12-14 10:46:15 -05:00
DD Liu
38ca8b9d3b
fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20181213192400 (#795)
Closes #794
2018-12-13 15:47:12 -05:00
greenkeeper[bot]
1bdb1227ef Update scratch-svg-renderer to the latest version 🚀 (#791) 2018-12-12 18:19:42 -05:00
chrisgarrity
b75f0efdf2
Merge pull request #785 from epicfaace/patch-messages
Get proper paintMessages object properties
2018-12-11 10:31:36 -05:00
Florrie
934b756032 Make mouse cursor react to what it's hovered over (#762) 2018-12-10 17:42:29 -05:00
Ashwin Ramaswami
bce0cbbbb5 Add "testURL" config to fix test issues (#787)
* Add "testURL" config to fix "localStorage is not available for opaque origins" problem
2018-12-10 15:56:37 -05:00
Ashwin Ramaswami
01090ec098 Get proper paintMessages object properties 2018-12-09 10:34:59 -08:00
chrisgarrity
f1efb97ace
Merge pull request #779 from chrisgarrity/update-l10n
Update scratch-l10n dependency
2018-12-03 14:23:24 -05:00
chrisgarrity
d2b05bf268 Update scratch-l10n dependency
- update to scratch-l10n that includes script for pushing new source file to transifex
- add new step to .travis.yml that will generate and push source strings if running a cron job
2018-11-30 13:57:33 -05:00
Florrie
a04f1276f8 Make circle (shift-oval) tool work for any direction dragged (#774) 2018-11-28 13:16:20 -05:00
greenkeeper[bot]
ada81cbd88 fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20181126212715 (#776) 2018-11-27 10:51:08 -05:00
DD Liu
badc549fdc
Revert "Revert "Wait for other callbacks before load SVG code"" (#772)
* Add back bitmap jumping fix

* Cancel previous async action if a new one is queued, and move zoomToFit call until after import

* Make bitmap load cancellable too
2018-11-20 14:10:25 -05:00
DD Liu
6d69e7c65f
Update to paper with unsmoothed rasters (#771) 2018-11-14 10:52:27 -05:00
Paul Kaplan
382f1fe0ef
Merge pull request #760 from LLK/revert-755-bitmapMove
Revert "Wait for other callbacks before load SVG code"
2018-11-09 13:07:11 -05:00
Paul Kaplan
dd35871076 Revert "Wait for other callbacks before load SVG code (#755)"
This reverts commit 2d277581b1.
2018-11-09 13:01:58 -05:00
Paul Kaplan
e4e316fdbb Revert "fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20181101210634 (#757)"
This reverts commit c05d3b9887.
2018-11-09 13:01:58 -05:00
Paul Kaplan
003a09ad87 Revert "Fix issues handling rasters in reshape (#756)"
This reverts commit b3009320d1.
2018-11-09 13:01:58 -05:00