Files
ChaseandKeavon Chambers 1aaf2a521b Add fill and stroke color choices to the Pen tool options bar (#1188)
* Add basic layout - WIP

* Add color input min-width -> 80px

* First pass implementation - WIP

* Allow fill to be None

* Fix null Fill color

* refactor fill and stroke options into struct

* toolbar progress - WIP

* Switch is_working_color bool to PenColorType enum

* Add todo

* Add WorkingColorChanged event

* remove unused import

* Add WorkingColor[Primary/Secondary] icons

* Allow new strokes to have no color

* Set to base color when X is pressed (as per req)

* Improve icons for new UI layout design

* Add radio buttons

* Fix menu bar Edit12px -> Edit

* Add tooltips to radio buttons

* Make the color selector only on custom

* Fix edit icon correctly this time (whoops)

* Fix working colors icons

* Changes to improve the UX

* Remove lines obviated by Default::default()

* Make Eyedropper tool use working_color_changed event

* Fix tests

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-05-03 02:08:35 +08:00

4 lines
442 B
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">
<path d="M11.4,1.8l-1.2-1.2C9.9,0.2,9.3,0,8.8,0s-1,0.2-1.4,0.6L1.6,6.4c-0.4,0.4-0.7,1-0.8,1.5L0,12l4.1-0.8c0.6-0.1,1.1-0.4,1.5-0.8l5.8-5.8C12.2,3.8,12.2,2.5,11.4,1.8z M4.9,9.7c-0.3,0.3-0.6,0.5-1,0.5l-0.1,0L1.8,8.2l0-0.1c0.1-0.4,0.3-0.7,0.5-1l4-4l2.6,2.6L4.9,9.7z M10.7,3.9L9.6,4.9L7.1,2.4l1.1-1.1C8.3,1.1,8.6,1,8.8,1s0.5,0.1,0.7,0.3l1.2,1.2C11.1,2.9,11.1,3.5,10.7,3.9z" />
</svg>