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
Matthew Taylor
2183dc759f
Implement eye dropper for paint editor
2017-12-08 16:52:37 -05:00
DD Liu
38437c65bc
Merge pull request #210 from fsih/fixBoundingBox
...
Show the bounding box after switching to select tool and transforming
2017-12-05 20:33:48 -05:00
DD
54f8abacfc
Show the bounding box after switching to select tool and transforming
2017-12-05 12:13:31 -05:00
DD Liu
3d2a29244a
Merge pull request #208 from fsih/watermelon
...
Handle null items
2017-12-01 10:35:50 -05:00
DD
5fe8369b1e
Handle null items
2017-11-30 17:56:10 -05:00
Matthew Taylor
5ffdd14ff0
Merge pull request #194 from mewtaylor/issue/gh-41
...
Implement GH-41: Add minimum width gui
2017-11-21 11:06:05 -05:00
Matthew Taylor
27c0684e1c
fine-tune the responsive design
...
squish some things together a bit more, including in desktop mode (in order to fit the coming “rotation point” button). Also turn canvas into 480x360, as it is in the mocks
2017-11-13 15:13:20 -05:00
DD Liu
eb73b6453e
Merge pull request #199 from fsih/canvasDep3
...
Add canvas prebuilt
2017-11-13 10:26:32 -05:00
Matthew Taylor
b48da92b9d
squish buttons together a bit more on tablet
2017-11-13 07:45:22 -05:00
DD
599d4b1320
add canvas prebuilt dep to fix local tests that cant find canvas 2D context
2017-11-09 16:27:24 -05:00
Matthew Taylor
351b3bb6e7
Add font family to menu items
...
popovers need explicit font family set
2017-11-09 16:03:57 -05:00
DD Liu
4924caec89
Merge pull request #185 from fsih/betterCursorPreview
...
Improve cursor preview efficiency
2017-11-09 15:53:38 -05:00
DD
420db40145
Improve cursor preview, don't redraw the circle every frame it changes
2017-11-08 15:36:21 -05:00
DD Liu
25c92e23a5
Merge pull request #186 from fsih/selectionBoxShapeToools
...
Clean up selection state
2017-11-08 15:35:10 -05:00
Matthew Taylor
6930da0644
fix linting
...
thanks @fsih!
2017-11-08 15:30:32 -05:00
Matthew Taylor
58355ea4c7
Add back in missing props
...
Whoops! Thanks @fsih
2017-11-08 15:05:30 -05:00
DD
d918fc0bda
Clean up selection state
2017-11-08 13:33:57 -05:00
DD Liu
406a212053
Merge pull request #195 from fsih/strokeWidthFix
...
Clean up the scale tool
2017-11-08 13:31:50 -05:00
Paul Kaplan
8730c28a79
Merge pull request #196 from paulkaplan/fix-object-values
...
Do not use Object.values
2017-11-08 13:18:06 -05:00
Matthew Taylor
e384c07e3d
fix linting, tests
2017-11-08 10:13:17 -05:00
Matthew Taylor
533e007ac9
pin react-responsive type
...
thanks @rschamp!
2017-11-08 09:55:44 -05:00
DD Liu
ba6de5accc
Merge pull request #191 from mewtaylor/issue/gh-131-again
...
GH-131 Again: remove `small` from live inputs
2017-11-08 08:32:55 -05:00
Paul Kaplan
b9398d2f22
Do not use Object.values
...
This is almost silly because the "keymirror" used to create Modes
actually ensures that the keys and the values of the object are the
same. So replace object.values with object.keys which has complete
browser support.
2017-11-08 08:32:43 -05:00
DD
f854a296a2
Clean up
2017-11-07 17:49:30 -05:00
Matthew Taylor
018f9b28a6
add min width layout for tablet
2017-11-07 14:08:26 -05:00
Matthew Taylor
250e3ea089
fix validation
2017-11-07 14:04:54 -05:00
Matthew Taylor
95099d6e90
move modes to lib
2017-11-07 14:02:39 -05:00
DD Liu
13693e7fc0
Merge pull request #190 from fsih/NaNaNaNaNaNaNaNaN
...
Indicate gradients as mixed for now
2017-11-07 11:29:08 -05:00
DD Liu
9f2dd1dcf0
Merge pull request #184 from fsih/activeTools
...
Tools keep track of when they are 'active' (the mouse is down)
2017-11-07 11:18:09 -05:00
DD
5e1fcc66ea
Tools keep track of when they are 'active' (mouse down has occured on them)'
2017-11-07 11:17:11 -05:00
DD Liu
078ab56583
Merge pull request #187 from fsih/fixCanvasDep
...
Fix canvas dep
2017-11-07 10:39:32 -05:00
DD
88a6b6e14e
revert eslint change
2017-11-07 10:31:28 -05:00
Matthew Taylor
c347460034
remove small
from live inputs
...
Fixes #131 by instead of changing the small width, simply just removing the small tag from things that don’t need it.
2017-11-07 09:37:12 -05:00
DD
ff554fabd4
Indicate gradients as mixed for now
2017-11-06 15:06:05 -05:00
DD
479cdb5671
Attempt to fix canvas dep
2017-11-06 11:58:42 -05:00
DD Liu
46ff0bd3e1
Merge pull request #180 from fsih/modeGuard
...
Fix null mode issue
2017-11-06 10:17:33 -05:00
Matthew Taylor
88b2d3bf8f
remove space
...
apologies – this happened during the manual merge.
2017-11-06 09:07:18 -05:00
Matthew Taylor
8697922d3b
Merge branch 'issue/gh-122' into develop
...
* issue/gh-122:
check min too
Validate max value in live input
create liveinput hoc instead
change size inputs to input with custon onChange
# Conflicts:
# src/components/mode-tools/mode-tools.jsx
2017-11-06 08:11:48 -05:00
DD
3c5ba7a08c
Fix null mode issue
2017-11-03 18:11:48 -04:00
Matthew Taylor
e39b4edce1
check min too
2017-11-03 12:49:34 -04:00
DD Liu
5c9ab404cd
Merge pull request #177 from fsih/layerMixing
...
Try to make layer management more robust
2017-11-03 11:07:33 -04:00
Matthew Taylor
9eb3b7af39
Validate max value in live input
...
Also snap to max if the value is larger. Thanks @fsih!
2017-11-02 22:15:25 -04:00
DD
a9b55b9a22
Try to make layer management more robust
2017-11-02 17:19:42 -04:00
DD Liu
ffa4721e49
Merge pull request #118 from fsih/eraserDonuts
...
Fix erasing with holes
2017-11-02 14:27:49 -04:00