DD Liu
e84b40cc72
Set rotation center of empty bitmaps to (0, 0)
2019-12-06 00:52:16 -05:00
DD Liu
7d7e42b63f
Fix the tools being in 1 column instead of 2 sometimes when the paint editor is in expanded mode
2019-11-13 16:36:48 -05:00
DD Liu
0a510e975b
Prevent buttons from stacking on top of each other in paint
2019-11-13 16:30:41 -05:00
adroitwhiz
46f5db055d
Handle null color in bitmap shape tools
2019-11-08 09:23:36 -05:00
Chris Garrity
a33f4ab522
Add swahili to localeTooBig
2019-10-10 11:36:57 -04:00
DD Liu
8d6e25b695
Merge pull request #909 from fsih/fixNoDefault
...
Fix bitmap sprites opening with no default tool selected
2019-09-23 11:36:44 -04:00
DD Liu
4585989fb3
Fix lint
2019-09-20 14:49:33 -04:00
Karishma Chadha
f282b3b96c
Fix issue where eyedropper could not be used to set the secondary color in a gradient.
2019-09-20 10:45:28 -07:00
DD Liu
3ca123e603
Add VectorModes
2019-09-20 12:32:24 -04:00
DD Liu
54ce55d2d1
Fix bitmap sprites opening with no default tool selected
2019-09-18 22:22:05 -04:00
Paul Kaplan
73fcbef28d
Always use passive: false on touch move drag handler events ( #858 )
2019-07-15 11:48:20 -04: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
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
adroitwhiz
4e4c02c7b4
Call inlineSvgFonts() on string instead of element
2019-05-16 16:51:36 -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
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
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
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
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
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
01090ec098
Get proper paintMessages object properties
2018-12-09 10:34:59 -08: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
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
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
DD Liu
b3009320d1
Fix issues handling rasters in reshape ( #756 )
2018-11-05 15:58:42 -05:00
DD Liu
2d277581b1
Wait for other callbacks before load SVG code ( #755 )
2018-11-05 11:03:58 -05:00
DD Liu
4bc3b5b624
Cut off text2 ( #744 )
2018-10-29 11:01:53 -04:00
chrisgarrity
fa6f69ec45
Merge pull request #705 from chrisgarrity/issue/620-gd-toobig
...
Add Gaidhlig (gd) to the ‘hide-label’ locales
2018-09-26 15:05:32 -04:00
DD Liu
c6fb28a69c
Make stroke width 0 when transparent ( #695 )
2018-09-26 13:08:47 -04:00
chrisgarrity
e220ba1f54
Add Gaidhlig (gd) to the ‘hide-label’ locales
2018-09-26 11:41:44 -04:00
DD Liu
8daea46ad6
Use consistent hit testing ( #689 )
2018-09-26 11:19:46 -04:00
DD Liu
bcc3af4571
Save after adding points ( #696 )
2018-09-24 13:47:57 -04:00
DD Liu
c8a5db311b
Don't scale text outlines ( #685 )
2018-09-18 16:30:56 -04:00
DD Liu
a5baa14316
Don't navigate away when paint editor is open and delete/backspace are pressed' ( #679 )
2018-09-18 16:17:51 -04:00
DD Liu
b6ad997ea2
Switch fix aspect ratio to default when resizing by a corner ( #681 )
2018-09-17 13:43:51 -04:00
DD Liu
4b658c294f
Bitmap select state ( #678 )
2018-09-17 13:38:16 -04:00
DD Liu
ccd7f27268
Export bit text ( #680 )
2018-09-17 13:37:01 -04:00