Paul Kaplan
7ab106ee27
Update eslint and fix duplicate import errors
2021-02-09 12:20:26 -05:00
adroitwhiz
696e35582c
Add GradientToolsModes for shouldShowGradientTools
...
This means that gradient tools will also be enabled for the stroke color
indicator even in fill and bitmap modes, but that's okay because the
stroke color indicator will be disabled or hidden in those modes anyway.
2020-07-28 08:39:49 -04:00
adroitwhiz
a304dea338
Add gradients to bitmap shape tools
2020-07-28 08:39:49 -04:00
adroitwhiz
df1989d0b0
Add gradients to vector shape tools
2020-07-28 08:39:49 -04:00
adroitwhiz
6094953ef4
Wire up stroke gradient controls
...
* Abstract FillColorIndicator and StrokeColorIndicator to ColorIndicator
* Replace stroke color reducer with stroke style reducer
* Add color style proptype
* Clear stroke gradient in line mode
2020-07-23 05:57:52 -04:00
adroitwhiz
1ecab99cfb
Make style-path helpers generic over fill & stroke
2020-07-23 05:54:57 -04:00
DD Liu
c6fb28a69c
Make stroke width 0 when transparent ( #695 )
2018-09-26 13:08:47 -04:00
DD Liu
4ba79cacbb
Vector gradient ( #558 )
2018-07-17 16:37:03 -04:00
DD Liu
4e4bb396a6
Draw oval and rectangle outlines in bitmap ( #550 )
2018-07-12 15:48:30 -04:00
DD Liu
3d99044ccf
Import and export bitmaps ( #404 )
...
* Rename svg to image
* Import/export bitmap
* Fix playground and readme
* Fix lint
* Assume strings are svgs
2018-04-26 18:45:50 -04:00
DD
6bfc3f23df
Don't apply outline to text by default
2018-03-22 17:53:17 -04:00
DD
79e7d21023
Change proptype
2018-03-16 14:16:27 -04:00
DD
8d61a7b060
Move the text edit target to the state and make fill work
2018-03-16 11:39:09 -04:00
Paul Kaplan
bdd70165c8
Add missing code for updating stroke color from eyedropper
2017-12-19 10:47:12 -05:00
Matthew Taylor
95099d6e90
move modes to lib
2017-11-07 14:02:39 -05:00
Paul Kaplan
3dab6ef7f0
Fix nits
2017-10-30 11:13:29 -04:00
Paul Kaplan
7cc3ecf74b
Only submit SVG changes when color picker closes
2017-10-29 14:10:43 -04:00
Paul Kaplan
b8aadc3c54
Disable fill or outline indicators for brush, line and pen mode.
2017-10-26 17:43:06 -04:00
Paul Kaplan
3eaf8047aa
Initial prototype of color picker
2017-10-13 13:34:25 -04:00
DD
345a43e127
merge onUpdateSvg and undoSnapshot
2017-10-12 11:23:35 -04:00
DD
28464b237b
call undo
2017-10-12 11:23:35 -04:00
DD
b87c17523a
Selection sets and gets fill/stroke color/width
2017-10-03 12:07:56 -04:00
DD
499635ddf1
convert containers to mysterious non-components
2017-09-11 13:28:35 -04:00
DD
74ff77a38d
add stroke color to state
2017-09-07 17:59:14 -04:00