Graphite/editor/src
Mateo 3d37ef79ac
Add shape fill overlays when closing a path (Pen tool) or filling it (Fill tool) (#2521)
* Make the Pen tool show a path being closed by drawing a filled overlay when hovering the endpoint

* Add to_css to color.rs

* Check before unwrapping layer

* Close if in the right place

* Fix typo

* Format code

* Support discontinuous paths for closing preview

* Code review

* Denser fill lines

* Fill tool preview with strip lines only and revert pen shape-closing opacity

* Small adjustments to fill preview

* Fix line width of fill preview

* Use a pattern to preview the fill tool and fix canvas clearing

* Update pattern

* Simplify code

* Format code

* Use secondary color to preview fill if shift is pressed

* Code review

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-04-23 18:33:08 -07:00
..
messages Add shape fill overlays when closing a path (Pen tool) or filling it (Fill tool) (#2521) 2025-04-23 18:33:08 -07:00
node_graph_executor Improve instancing nodes (make them output group data, add 'Instance Repeat', fix Flatten Vector Elements click targets, and more) (#2610) 2025-04-22 17:55:57 -07:00
application.rs Comment out all remaining active Imaginate code 2025-04-12 17:32:24 -07:00
consts.rs Add option to adjust viewport zoom rate in the preferences dialog (#2420) 2025-04-08 07:51:46 +00:00
dispatcher.rs Add node description tooltips in the Properties panel and on secondary inputs in the graph (#2590) 2025-04-17 00:59:46 -07:00
generate_ts_types.rs Reorganize cargo dependencies and upgrade most of them (#1815) 2024-07-09 04:08:28 -07:00
lib.rs Add tests to the Ellipse, Artboard, and Fill tools (#2181) 2025-03-07 02:13:15 +00:00
macros.rs Upgrade to the Rust 2024 edition (#2367) 2025-03-12 17:29:12 -07:00
node_graph_executor.rs Update Tauri to v2 and execute only the node graph in native (#2362) 2025-04-14 11:43:15 +00:00
test_utils.rs Add Gradient tool test for select and delete removes a stop (#2571) 2025-04-19 16:00:59 -07:00
utility_traits.rs Clean up arg order in process_message() so data is last 2023-01-29 04:07:41 -08:00