Commit graph

7073 commits

Author SHA1 Message Date
DD Liu
3b68397a5e Fix uses of const 2018-08-02 16:07:26 -04:00
DD Liu
9f9f210537
Merge pull request #16 from fsih/safariDrawImage
Fix Safari when selection exceeds canvas bounds
2018-08-01 15:38:38 -04:00
DD Liu
e0b6759add Make raster's getSubRaster function allow rectangles that exceed the bounds of the canvas. This fixes Safari, which returns a blank canvas in that case. 2018-07-26 15:08:48 -04:00
DD Liu
9043d1236f
Merge pull request #15 from LLK/fix-text-gradients
Fix gradients applied to text.
2018-07-17 11:45:42 -04:00
Paul Kaplan
7519590321 Fix gradients applied to text.
Two things:
1. Apply a gradientTransform for text items that reverse the text transform. This is required because we do not use x/y for text, and gradients are impacted by the transforms.
2. Always apply the style to text elements instead of allowing them to be applied to the parent group if the text element is alone. This is so the fill property is always on the text element so the gradient transforms work.
2018-07-17 10:09:41 -04:00
DD Liu
51a1b93df6
Merge pull request #14 from fsih/bearEars
Fix SVG import of translate with one argument
2018-06-27 16:55:54 -04:00
DD
011a353c08 Add rotate case as well 2018-06-27 16:47:19 -04:00
DD
4c72f3f89e For SVG import, If second argument is missing in translate, assume that it's zero. Currently it assumes that y matches x if y is missing. 2018-06-27 16:29:46 -04:00
Paul Kaplan
2ed21a7387
Merge pull request #12 from LLK/paulkaplan-patch-1
Use childNodes instead of children
2018-06-14 11:46:42 -04:00
Paul Kaplan
9065cad302
Use childNodes instead of children 2018-06-14 11:40:56 -04:00
DD Liu
aac34afbc8
Merge pull request #11 from fsih/alignmentBaseline
Add support for text before edge baseline
2018-05-23 15:38:49 -04:00
DD Liu
df08aa10c1
Remove || '' 2018-05-23 15:27:07 -04:00
DD
26868e4cab Add support for text before edge baseline 2018-05-22 12:40:59 -04:00
DD Liu
4ce55ae0d2
Merge pull request #10 from fsih/lineSpacing
Be able to import line spacing
2018-05-21 11:31:55 -04:00
DD
15470a90b7 Be able to import leading 2018-05-17 17:33:36 -04:00
DD Liu
a9de479c8c
Merge pull request #9 from fsih/hitUnfilledText
Allow hitting unfilled text and compound paths when hitUnfilledPaths option is on
2018-04-11 14:32:35 -04:00
DD
e29749a266 Allow hitting unfilled text and compound paths when hitUnfilledPaths option is on 2018-04-03 18:09:24 -04:00
Paul Kaplan
feb044048f Disable browser test step because CI cannot run it 2018-03-29 15:21:14 -04:00
Paul Kaplan
c5745e1c83
Merge pull request #7 from LLK/scratch-text
Export and import SVGs with multiline text
2018-03-29 13:39:17 -04:00
Paul Kaplan
dd276b92f7 Export and import SVGs with multiline text 2018-03-29 13:23:52 -04:00
DD
2af28e6c0e Merge branch 'develop' of github.com:LLK/paper.js into develop 2017-12-18 12:02:00 -05:00
DD
f2ae9bc6db Don't show handles when fully selected, it is too crowded 2017-12-18 12:01:45 -05:00
DD Liu
241d0749c8
Merge pull request #5 from fsih/hitTransparent
Add an option to hit closed paths with transparent or alpha 0 fill
2017-12-14 15:37:03 -05:00
DD
bf2a405ede Fix size 0 handle rendering 2017-12-12 15:05:00 -05:00
DD
4abc415002 Add an option to hit closed paths with transparent or alpha 0 fill 2017-12-12 12:14:59 -05:00
DD Liu
85633deb64
Merge pull request #2 from fsih/build
Fix Build and move changes from dist file to source files
2017-12-11 13:18:22 -05:00
DD
6b1421eb4d Build before testing so we dont have to track the dist files 2017-12-06 17:07:59 -05:00
DD
13b1287a30 Change git ignore to relative paths 2017-12-06 16:27:19 -05:00
DD
1ae2917001 Merge branch 'develop' into build 2017-12-06 16:26:52 -05:00
DD Liu
ff2c9f63c9
Merge pull request #3 from fsih/moveChangesToSource
Copy changes in selection mode to src files
2017-12-06 15:38:11 -05:00
DD
fd1435d94d Fix tests and make Travis deploy scratch paperjs 2017-12-04 18:34:59 -05:00
DD
18d2b83474 Merge branch 'develop' of github.com:LLK/paper.js into develop 2017-12-04 18:25:25 -05:00
DD
2d790a3f34 Copy changes in selection mode to src files 2017-12-04 18:23:42 -05:00
Jürg Lehni
5da2d3487f
Merge pull request #1406 from sungmaster/master
Fix README links
2017-11-06 06:28:37 +01:00
Volodymyr Mikhav
6de2c4fa66
Fix README links 2017-11-06 00:17:55 +02:00
Jürg Lehni
9c4d47d8c0 Switch back to load.js versions on develop branch. 2017-10-08 17:48:20 +02:00
Jürg Lehni
f677cd37ea Merge branch 'develop' 2017-10-08 17:48:11 +02:00
Jürg Lehni
193592b88b Release version 0.11.5 2017-10-08 17:48:07 +02:00
Jürg Lehni
0deddebb2c Merge pull request #1382 from sapics/patch-1
Fix path.isSelected
2017-10-05 16:16:29 +02:00
Jürg Lehni
702ab748a2 JSHint: Fix error 2017-10-05 12:09:07 +02:00
Jürg Lehni
6c5f1dc671 Node.js: Clean up image stream handling 2017-10-04 22:39:19 +02:00
therewasaguy
6939c1674b Node.js: Add JPEG support to exportFrames()
Closes #1166
2017-10-04 22:25:30 +02:00
Jürg Lehni
7412939096 Boolean: Add better filtering for invalid segments
Fixes #1385
2017-10-04 21:43:56 +02:00
Jürg Lehni
10f464edfc Boolean: Check that overlaps are on the right path
Closes #1321
2017-10-04 17:52:09 +02:00
Jürg Lehni
09e146eba8 Add .github templates 2017-10-04 17:08:46 +02:00
Carl Saldanha
6a96a11549 Events: Fix auto-filling issue on Chrome
Closes #1358, closes #1365
2017-10-04 17:08:10 +02:00
sapics
1c5887433b Fix path.isSelected
This fixes #1378
2017-09-21 13:42:55 +09:00
Jürg Lehni
b6f9d73af0 Switch back to load.js versions on develop branch. 2017-06-10 14:32:35 +02:00
Jürg Lehni
5af961d388 Merge branch 'develop' 2017-06-10 14:32:26 +02:00
Jürg Lehni
c403c86a23 Release version 0.11.4 2017-06-10 14:32:21 +02:00