Commit graph

1177 commits

Author SHA1 Message Date
DD Liu
8b03c5af54 Set the rotation center of bitmaps with no rotation center to the center of the stage 2020-05-24 22:18:55 -04:00
DD Liu
2e88b6d070 Add upload and download image buttons to the playground 2020-05-24 18:34:02 -04:00
adroitwhiz
ec3348dc75 Increase reshape tool tolerance to match handle size
This causes the new dynamically-sized reshape handles to match their
previous size.
2020-05-22 20:07:45 -04:00
adroitwhiz
e110a04093 Set reshape handle size to match hit tolerance 2020-05-22 20:06:37 -04:00
adroitwhiz
55bc3dc4b6 Don't double-add points to broad brush path 2020-05-21 12:29:36 -04:00
adroitwhiz
a9a8789af6 Clear lastVec in onBroadMouseDown 2020-05-21 12:29:36 -04:00
adroitwhiz
87e01639c0
Merge pull request #991 from adroitwhiz/tight-bitmap-selection-bounds
Tighten bitmap selection bounds
2020-05-19 15:42:45 -04:00
adroitwhiz
d7888fd2d1
Merge pull request #1050 from adroitwhiz/recalibratesize-rounding
Move canvas dimension rounding to recalibrateSize
2020-05-18 20:14:28 -04:00
adroitwhiz
f76a399b83 Add comment on early return if !paper.view 2020-05-18 15:51:58 -04:00
adroitwhiz
3946cdc5f8 Move canvas dimension rounding to recalibrateSize 2020-05-16 03:56:22 -04:00
adroitwhiz
aff7dc88f7 Remove redundant if (selectionRect) 2020-05-16 03:42:06 -04:00
adroitwhiz
de502d6843 Tighten bitmap selection bounds 2020-05-16 03:41:39 -04:00
adroitwhiz
b0164e7783
Merge pull request #922 from adroitwhiz/swapcolorsinselection-continue
Skip processing of child paths in swapColorsInSelection
2020-05-15 20:23:43 -04:00
DD Liu
9e70c96044
Merge pull request #984 from adroitwhiz/fix-empty-svg-center
Set rotation center of empty SVGs to (0, 0)
2020-05-15 14:57:39 -04:00
DD Liu
902b599cfa
Merge pull request #919 from adroitwhiz/handle-null-color
Handle `null` colors in bitmap shape tools
2020-05-15 14:56:42 -04:00
adroitwhiz
66b376b98d Fix rotation center of empty SVGs 2020-05-14 14:57:54 -04:00
DD Liu
616ed9b4d9
Merge pull request #975 from fsih/fillSpace
Stretch to fill available space
2020-05-14 14:25:12 -04:00
DD Liu
2cb1f1a62d Merge branch 'develop' into fillSpace 2020-05-14 14:21:35 -04:00
DD Liu
62e39c2f29
Merge pull request #1022 from apple502j/paint-swap-stage
Update sprite when gradient colors are swapped
2020-05-12 15:39:24 -04:00
DD Liu
0e20cd0234 fix that zooming from .5 to .333 by scroll wheel is not smooth 2020-05-11 18:42:52 -04:00
DD Liu
5230e97903 Fix width/height switched 2020-05-11 17:56:22 -04:00
apple502j
4d3183a6ab Update sprite when gradient colors are swapped 2020-05-12 02:38:14 +09:00
DD Liu
d273608102 Merge branch 'develop' into fillSpace 2020-05-11 12:36:11 -04:00
DD Liu
f035c44697
Merge pull request #1021 from LLK/greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20200507183648
Update scratch-svg-renderer to the latest version 🚀
2020-05-07 15:46:20 -04:00
greenkeeper[bot]
625ee0317e
fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20200507183648 2020-05-07 19:13:38 +00:00
DD Liu
c6d5d892cf Bring in adroitwhiz's changes 2020-05-06 22:57:11 -04:00
DD Liu
33659f1d16 Merge branch 'develop' into fillSpace 2020-05-06 22:46:48 -04:00
DD Liu
0d63987fea Move magic numbers to constants in layer.js 2020-05-06 22:46:33 -04:00
DD Liu
edfcb5efe0
Merge pull request #1020 from fsih/updatePaper
Update paper
2020-05-06 17:07:06 -04:00
DD Liu
5c68f30acc Update paper 2020-05-06 17:05:21 -04:00
DD Liu
eb4569e819
Merge pull request #1018 from LLK/revert-1015-greenkeeper/@scratch/paper-0.11.20200424212514
Revert "fix(package): update @scratch/paper to version 0.11.20200424212514"
2020-04-30 11:53:10 -04:00
DD Liu
78bb6336fb
Revert "fix(package): update @scratch/paper to version 0.11.20200424212514" 2020-04-30 11:52:02 -04:00
DD Liu
480e215fb3
Merge pull request #1017 from fsih/fixNode12
Fix Scratch paint building in node 12
2020-04-29 18:02:09 -04:00
DD Liu
f3f3834b48 remove canvas from travis build steps' 2020-04-29 17:59:54 -04:00
DD Liu
bea45770bd Fix Scratch paint building in node 12 2020-04-29 16:04:15 -04:00
DD Liu
1d44f7f2a8
Merge pull request #1015 from LLK/greenkeeper/@scratch/paper-0.11.20200424212514
fix(package): update @scratch/paper to version 0.11.20200424212514
2020-04-24 17:46:05 -04:00
DD Liu
a730ac55f4
Merge pull request #1014 from adroitwhiz/remove-old-todos
Remove compound path TODOs from blob.js
2020-04-24 17:44:06 -04:00
adroitwhiz
77f01b3ec4 Remove compound path TODOs from blob.js 2020-04-24 17:38:53 -04:00
greenkeeper[bot]
9f70f48fae
fix(package): update @scratch/paper to version 0.11.20200424212514
Closes #1013
2020-04-24 21:27:37 +00:00
DD Liu
7ffe87e712
Merge pull request #921 from adroitwhiz/mergeeraser-skip-child-paths
Skip processing of child paths in mergeEraser
2020-04-24 17:07:06 -04:00
adroitwhiz
1c6425f9e3 Filter out compound path children *before* looping 2020-04-21 21:29:30 -04:00
DD Liu
337f12b836 Fill the available space in the costume tab 2020-04-21 18:04:26 -04:00
DD Liu
8865291d04 Add new zoom level 2020-04-21 17:59:56 -04:00
DD Liu
eda582363a Pass mode through to more selection tools. Correct the mode type of some tools that were misreporting it before. 2020-04-21 13:11:27 -04:00
DD Liu
ca76a99fb4 Add more space around the scrollbars 2020-04-21 12:31:06 -04:00
DD Liu
153a239c7e Remove package-lock 2020-04-16 08:04:47 -04:00
Karishma Chadha
4de64022d9
Merge pull request #982 from fsih/fixCrosshairSize
Fix not resizing the crosshair when switching tabs and coming back to the costume tab
2020-02-13 12:34:11 -05:00
DD Liu
1eec689935 Fix not resizing the crosshair when switching tabs and coming back to the paint editor 2020-02-13 12:04:28 -05:00
DD Liu
0f99d459d0
Merge pull request #981 from fsih/centeringFadeFormula
Centering fade formula
2020-02-12 13:24:18 -05:00
DD Liu
dd63f75a38 Clarify comments 2020-02-12 13:21:09 -05:00