DD
29b5c931f2
fix lint
2017-12-21 17:03:28 -05:00
DD
a0c89642d8
Make state change even when select items dont change so that handle changes work. Make the edge code pick the normal in a more well defined way
2017-12-21 15:38:24 -05:00
DD
07b30aa55b
Handle pointed and curved
2017-12-21 15:38:24 -05:00
DD
0fc9fd151d
Set enabled state based on whether any points are selected
2017-12-21 15:38:24 -05:00
DD
18db05fdce
Show curved and pointed icons
2017-12-21 15:38:24 -05:00
Matthew Taylor
53034baa30
disable lint for empty function for now
2017-12-21 11:42:07 -05:00
Matthew Taylor
7cbe687c18
Add coming soon for bitmap, text tool
2017-12-21 11:24:38 -05:00
DD Liu
c1010b95fb
Merge pull request #239 from fsih/breakOutMode
...
Break out mode tools
2017-12-20 15:38:13 -05:00
DD
2dbce9186d
alphabetize
2017-12-20 14:44:39 -05:00
DD
f5c2fe2dd6
Break out mode tools
2017-12-20 14:34:32 -05:00
DD Liu
7086916089
Merge pull request #238 from fsih/handleLength
...
Don't change opposite handle length when changing handle length
2017-12-20 13:35:07 -05:00
DD
e199c0f39d
Don't change opposite handle length when changing handle length
2017-12-20 12:11:17 -05:00
DD Liu
b0ef37fc04
Merge pull request #237 from fsih/hideOutline
...
Remove the bounds path when you finish scaling
2017-12-20 11:55:11 -05:00
DD
31200665c0
Remove the bounds path when you finish scaling
2017-12-19 17:10:55 -05:00
DD Liu
a35a0f7933
Merge pull request #221 from fsih/fill
...
Fill tool
2017-12-19 16:43:14 -05:00
DD Liu
c58620e842
Merge pull request #232 from fsih/ensureClockwise
...
Convert SVGs to clockwise when importing
2017-12-19 16:39:59 -05:00
DD
0fe9c5d453
Make boolean expression more readable
2017-12-19 16:38:44 -05:00
DD
dcabea2a99
Convert SVGs to clockwise when importing
2017-12-19 14:40:00 -05:00
DD
9c98507597
Take out fill-caused grouping
2017-12-19 13:47:39 -05:00
DD
80a5238461
Fix a bug where when we reduce a compound path, the child doesnt inherit the style
2017-12-19 13:47:39 -05:00
DD
bda56d0a41
Add the right icon
2017-12-19 13:47:39 -05:00
DD
814ec160b3
Fill tool for fills (not strokes)
2017-12-19 13:47:39 -05:00
DD
045dcf211c
Expand filled holes by 1 px to avoid a gap between fill and outline
2017-12-19 13:47:39 -05:00
DD
207341f47f
Basic fill tool
2017-12-19 13:47:39 -05:00
DD Liu
9b5383eb50
Merge pull request #231 from fsih/fillWithTransparent
...
Null checks for fill with transparent
2017-12-19 13:34:29 -05:00
DD
45dea42863
merge match stroke color and match fill color
2017-12-19 13:19:01 -05:00
Paul Kaplan
01242aa1c1
Merge pull request #229 from paulkaplan/fix-stroke-color-eyedropping
...
Add missing code for updating stroke color from eyedropper
2017-12-19 12:01:38 -05:00
DD
b8c0b29aea
Null checks for fill with transparent
2017-12-19 11:59:54 -05:00
DD Liu
482c994112
Merge pull request #222 from fsih/showOutline
...
Show bounding box outline when moving and scaling in the select tool
2017-12-19 11:07:13 -05:00
DD Liu
4dcacfedf8
Merge pull request #228 from fsih/fillColorCompoundPath
...
When a piece of a compound path is selected, treat it as the whole compound path
2017-12-19 10:48:31 -05:00
Paul Kaplan
bdd70165c8
Add missing code for updating stroke color from eyedropper
2017-12-19 10:47:12 -05:00
DD
8dbed6ff77
When a piece of a compound path is selected, treat it as the whole compound path.
2017-12-18 12:02:35 -05:00
Matthew Taylor
21dc3a4b7f
Merge pull request #212 from mewtaylor/issue/gh-147
...
Implement eye dropper for paint editor
2017-12-15 11:04:54 -05:00
Matthew Taylor
7df3d69fc6
small styling updates
...
make the swatches aligned in gui, and make sure the cursor shows when not eye dropping. Also moves eye dropper initialization into the helper. Thanks @paulkaplan!
2017-12-15 10:37:31 -05:00
Matthew Taylor
73dce6ca50
add comment to colorInfo shape
2017-12-15 10:10:55 -05:00
Matthew Taylor
8c2fc475f6
updates from @paulkaplan’s feedback
...
1. Removes the cursour over loupe, and fills the loupe center’s color correctly
2. Fixes a console error and loupe initialization issue
3. Increases the size of the swatches
Thanks @paulkaplan!
2017-12-15 10:09:19 -05:00
DD
ac6914afc4
Show bounding box when moving and scaling in the select tool
2017-12-14 19:17:06 -05:00
Matthew Taylor
54e1e34127
don’t close popover on eye dropper click
...
and also update the hsv states from an eye dropper color change.
2017-12-14 14:45:26 -05:00
Matthew Taylor
0209e65ac0
accommodate zoom in eye dropper
2017-12-14 12:58:25 -05:00
Matthew Taylor
5caf6b7157
remove unused reference
2017-12-14 12:57:41 -05:00
Matthew Taylor
b49810a56d
remove empty box css file
2017-12-14 08:54:02 -05:00
Matthew Taylor
d87adbeac5
remove shouldComponentUpdate
...
also do proper validation of `previousTool`
2017-12-13 17:18:53 -05:00
DD Liu
29cc3b72a0
Merge pull request #214 from fsih/selectionBoxHandles
...
Selection box handles
2017-12-13 16:04:31 -05:00
Matthew Taylor
ae0358079e
use pixelRatio
instead of scale constant
...
Turns out that the width/height paper sets on the canvas is tracked at scale to the width/height we set in the `pixelRatio` value, so use that to handle grabbing pixel color rather than a constant we set.
2017-12-13 13:13:43 -05:00
Matthew Taylor
c8094af69e
don’t change modes when activate eye dropper
...
It works well to keep track of the previously active tool in redux, and reactivate that tool when the eye dropper is finished. This takes `eye-dropper` out of the mode tool reducer too, which is nice.
2017-12-13 13:12:33 -05:00
DD
e9392d4b2b
Remove template
2017-12-12 12:23:02 -05:00
DD
accdbb0fc3
Selection box handle design
2017-12-12 11:42:19 -05:00
Paul Kaplan
6a7daa83a5
Merge pull request #213 from paulkaplan/strip-svg-namespace
...
Remove "svg:" namespace from svg before importing.
2017-12-12 10:55:53 -05:00
Paul Kaplan
0e74afc631
Remove "svg:" namespace from svg before importing.
...
The namespace on tags causes paperjs to fail to import.
2017-12-12 10:25:59 -05:00
Matthew Taylor
4accabbc69
Changes from PR feedback
...
fixes lint and gui compatibility issues shown by @paulkaplan, and also does some cleanup to references and structure as requested by @fsih. Thanks to both of you for the reviews!
FYI – part of the canvas reference change made it so that the `PaintEditor` presentation component could become a classless declaration.
2017-12-11 13:24:57 -05:00