Commit graph

1680 commits

Author SHA1 Message Date
DD Liu
c287af41eb
Merge pull request #308 from fsih/eslintUpdate
Update eslint
2018-03-02 10:55:22 -05:00
DD
43b0bf40e5 Add jsdoc 2018-03-02 10:38:35 -05:00
DD
8934553dff Update eslint 2018-03-02 10:33:21 -05:00
DD Liu
10c6f263c2
Merge pull request #307 from fsih/deleteHoles
Don't error if there are no segments
2018-03-02 10:15:22 -05:00
DD
5783b69f0a Don't error if there are no segments 2018-03-01 17:14:09 -05:00
DD
0323451ebf Fix crash when missing cursor preview 2018-03-01 16:37:45 -05:00
DD
24b1359abf Make mouse movement accuracy depend on zoom level 2018-03-01 15:26:22 -05:00
DD
abe8deaa35 Make sure to clear the cursor preview when saving undo state so that it doesnt mysteriously return on undo 2018-03-01 14:41:39 -05:00
DD
9a8c68e9d1 Remove all view.draw and view.update 2018-03-01 14:32:16 -05:00
DD
b064db5309 add comments 2018-03-01 14:27:10 -05:00
DD
0943d8d0a1 Add end caps to round out flat edges. Significantly increase the threshold for using broad brush helper now that its able to handle end caps better. Also make the threshold depend on zoom level. 2018-03-01 14:22:34 -05:00
DD
f9a9aa8feb drawing caps and fixing bugs 2018-02-28 20:06:51 -05:00
DD
5aca0c83a2 Clean up amortized simplify 2018-02-28 18:23:54 -05:00
DD
64e628576b Remove all view.updates 2018-02-28 15:20:24 -05:00
DD
7d56dc6829 amortized smoothing 2018-02-27 11:22:38 -05:00
DD
9ab90d1576 periodic smoothing 2018-02-27 11:22:38 -05:00
DD
24032192c8 remove cursor preview when drawing and paper.view.draw 2018-02-27 11:22:38 -05:00
DD Liu
432beb6a69
Merge pull request #294 from LLK/greenkeeper/react-redux-5.0.7
Update react-redux to the latest version 🚀
2018-02-27 11:11:50 -05:00
DD Liu
12da4b2d7e
Merge pull request #298 from LLK/greenkeeper/webpack-dev-server-3.0.0
Update webpack-dev-server to the latest version 🚀
2018-02-27 11:11:11 -05:00
DD Liu
62e9257270
Merge pull request #299 from rschamp/bugfix/tiny-thumbnails
Restrict exported SVG to content bounds
2018-02-27 11:09:29 -05:00
DD
b93ce53694 Add an undo stack size limit to paint 2018-02-27 10:59:30 -05:00
Ray Schamp
9fca8dc514 Restrict exported SVG to content bounds
Previously we were exporting empty space to the right and bottom of the artwork, which was reflected in sprite thumbnails as a tiny version of the sprite.
2018-02-27 09:20:34 -05:00
greenkeeper[bot]
92e43feab0 chore(package): update webpack-dev-server to version 3.0.0 2018-02-25 12:24:53 +00:00
DD Liu
c39c495f8f
Merge pull request #296 from LLK/greenkeeper/css-loader-0.28.10
Update css-loader to the latest version 🚀
2018-02-22 14:23:25 -05:00
greenkeeper[bot]
5464e6b1b1 chore(package): update css-loader to version 0.28.10 2018-02-22 18:25:37 +00:00
greenkeeper[bot]
d255528372 chore(package): update react-redux to version 5.0.7 2018-02-16 22:24:14 +00:00
DD Liu
198e276a99
Merge pull request #291 from LLK/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
2018-02-15 18:03:01 -05:00
Paul Kaplan
d92cf90435
Merge pull request #292 from paulkaplan/bump-version
Bump to 0.2.0 to try to fix greenkeeper
2018-02-09 16:16:55 -05:00
Paul Kaplan
1d6de32008 Bump to 0.2.0 to try to fix greenkeeper 2018-02-09 16:15:41 -05:00
greenkeeper[bot]
724b4ab3ec docs(readme): add Greenkeeper badge 2018-02-09 21:04:48 +00:00
greenkeeper[bot]
c976818679 chore(package): update dependencies 2018-02-09 21:04:45 +00:00
Paul Kaplan
b193ad72c6
Merge pull request #290 from paulkaplan/fix-draggable-images
Mark all clickable images as not draggable.
2018-02-09 11:35:55 -05:00
Paul Kaplan
2bae8ed71a Mark all clickable images as not draggable.
When using images as clickable elements (within buttons or alone) you
need to mark them as not draggable. They are draggable by default and
starting a drag prevents the onClick from being handled, messing up the
clickable behavior.
2018-02-09 09:32:00 -05:00
Paul Kaplan
13d0f13170
Merge pull request #289 from paulkaplan/fix-zoom-bounds
Change pan/zoom bounds to 360/480 to match the real bounds.
2018-02-08 11:10:14 -05:00
Paul Kaplan
b4b93a4982 Change pan/zoom bounds to 360/480 to match the real bounds. 2018-02-08 08:49:52 -05:00
Paul Kaplan
c87e3e021a
Merge pull request #283 from paulkaplan/fix-chrome-eyedropper-bug
Temporary fix for eyedropper issue in Chrome 64
2018-02-07 12:37:58 -05:00
Paul Kaplan
d648fef0ee
Merge pull request #285 from paulkaplan/fix-input-nudging
Don't nudge selection when input is focused
2018-02-07 12:32:44 -05:00
Paul Kaplan
7f83411653 Use the same syntax as the delete key 2018-02-07 11:35:59 -05:00
Paul Kaplan
edb4acbb50
Merge pull request #284 from paulkaplan/fix-shift-bounds
Fix bounding box issue when using shift+drag
2018-02-07 11:32:54 -05:00
Paul Kaplan
09145a3bf1 Bail if input is target of nudge 2018-02-06 20:14:58 -05:00
Paul Kaplan
3a1e88eb5e Only update the selection bounds if a nudge actually occurs
This was causing the problem where holding shift while dragging would
trigger the selection box to be shown, interrupting the drag.
2018-02-06 19:15:25 -05:00
Paul Kaplan
270c92a849 Buffer the paper canvas offscreen for picking to ensure safe access.
This gets around the bug #276 where chrome cannot handle getImageData
off a canvas on HDPI screens. In the interest of having a single
code-path, and because does not impose a large performance burden, I
think we should just use it for all platforms until chrome is really
fixed.

Also it is important to note that because this bug has to do with how
they handle accelerated 2d canvas contexts, it does not impact the stage
color picking, so that does not need to be changed.
2018-02-06 18:56:26 -05:00
DD Liu
0a308e8e44
Merge pull request #268 from fsih/flipAll
Flip all
2018-01-30 15:57:30 -05:00
DD
7a4822298b Remove special case flip around center when nothing is selected 2018-01-29 15:03:05 -05:00
DD Liu
0f25c65217
Merge pull request #271 from fsih/nudge
Nudge
2018-01-29 11:29:11 -05:00
DD Liu
28ac7eaa7d
Merge pull request #269 from fsih/shiftLineTool
Hold shift to lock line tool to 45 degree angles
2018-01-26 17:37:15 -05:00
DD Liu
02e7d96e23
Merge pull request #267 from fsih/updateCenter
Fix point rotation point is relative to, which is not viewBox upper left
2018-01-26 17:30:40 -05:00
DD
c9165b0b4c Revert "Don't enable if there is nothing in the editor"
This reverts commit e4ca0482b8.
2018-01-26 17:21:47 -05:00
DD
e4ca0482b8 Don't enable if there is nothing in the editor 2018-01-25 18:32:43 -05:00
DD
53927bf615 Move key handlers into their own file, and add to oval and rect tools 2018-01-25 16:39:38 -05:00