Paul Kaplan
7aff96c3ff
Only update the full color state after eyedropper changes.
...
This prevents the sliders from changing when other sliders change (i.e.
bringing brightness down to 0). I needed to reorder the callback before
deactivate so the color picker can know that the update is coming from
the eyedropper. Also updated the comment to reflect what is really going
on.
2018-01-19 09:58:47 -05:00
Paul Kaplan
0279ba095c
Enforce state update before propogating change through props.
2018-01-19 09:43:25 -05:00
Paul Kaplan
243b8ccbb6
Add touch support for sliders include click-to-change on slider BG
2018-01-19 09:32:59 -05:00
DD Liu
7f1e3d7e28
Merge pull request #252 from fsih/updateReact
...
Update react dependencies to match gui
2018-01-17 11:33:20 -05:00
DD Liu
bd06cd4e24
Merge pull request #254 from fsih/backgroundUndo
...
Add an initial undo state when importing a blank costume
2018-01-12 15:34:53 -05:00
DD
379ecf85fc
Add an initial undo state when importing a blank costume
2018-01-12 11:22:26 -05:00
DD Liu
91752fc7ae
Merge pull request #251 from fsih/cursorPreviewDisappears
...
Clean up the cursor preview when it is removed from its parent
2018-01-12 10:33:25 -05:00
DD
0dd164d591
Update react dependencies to match gui
2018-01-11 18:53:16 -05:00
DD
8439a6387e
Clean up the cursor preview when it is removed from its parent
2018-01-11 18:50:42 -05:00
DD Liu
136357463c
Merge pull request #249 from fsih/widthWidth
...
Set a width on stroke width, brush and eraser width inputs
2018-01-10 15:45:10 -05:00
DD
1f76e7de4c
fix lint
2018-01-10 15:10:39 -05:00
DD
d0ca6e7174
Set a width on stroke width, brush and eraser width inputs
2018-01-10 15:05:40 -05:00
Matthew Taylor
671237498c
Merge pull request #244 from mewtaylor/issue/gh-226
...
Fix GH-226: set enterExitTransitionDurationMs to imperceptibly small value
2018-01-03 15:27:36 -05:00
Matthew Taylor
90defd1634
set enterExitDuration to imperceptibly small value
...
#226 appears to be caused when the duration in ms is below a certain value, which is why we don’t see it in other popovers. I’m not sure exactly what may be causing this in the `react-popover` library and will open an issue about it, but for now, 20ms is imperceptibly fast, and removes the error.
2017-12-29 09:20:29 -05:00
DD Liu
a4780d2207
Merge pull request #243 from fsih/flip
...
Flip
2017-12-27 14:58:49 -05:00
DD
ffca22618d
add input group
2017-12-27 14:31:18 -05:00
Matthew Taylor
7ee2c7e6b7
Merge pull request #240 from mewtaylor/issue/gui-830
...
Finish GUI-830: Add "coming soon" for bitmap, text tool
2017-12-26 12:04:02 -05:00
DD
300bbc80f3
Run ensure clockwise after flip, since flip makes everything counterclockwise which breaks fill
2017-12-22 17:44:14 -05:00
DD
04560d32ef
Flip
2017-12-22 17:44:14 -05:00
DD Liu
01d8ff736f
Merge pull request #242 from fsih/toggleCurved
...
Toggle curved/pointed points in reshape tool
2017-12-22 17:42:44 -05:00
DD
801fc926a0
Change .1 to .5 since we figured out that it doesnt matter and .5 seems less arbitrary
2017-12-22 17:30:05 -05:00
Matthew Taylor
bb7e66d26b
add an explicit width on the costume input
...
this fixes an issue with windows and the width of the top menu row
2017-12-22 17:02:48 -05:00
DD
db5ddcbe87
Change handle ratio to make squares circles
2017-12-22 11:32:06 -05:00
Matthew Taylor
900897c767
Edit copy/paste icons
2017-12-22 10:40:08 -05:00
Matthew Taylor
42399fe815
Add optional class to fill/stroke groups
...
And add a margin between them on the fill tool
2017-12-22 10:23:30 -05:00
Matthew Taylor
41297d3029
small css edits from @carljbowman
2017-12-22 09:59:33 -05:00
DD
396e73e640
internationalize messages
2017-12-21 17:18:17 -05:00
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