Add the Layer > Expand Fill/Stroke menu action (#4151)

* Add the Layer > Expand Fill/Stroke menu action

* Code review feedback
This commit is contained in:
Keavon Chambers
2026-05-15 13:10:50 -07:00
committed by GitHub
parent a56746c6bf
commit 16c7544d96
5 changed files with 112 additions and 5 deletions
@@ -514,6 +514,11 @@ impl LayoutHolder for MenuBarMessageHandler {
.icon("NodeShape")
.on_commit(|_| NodeGraphMessage::AddPathNode.into())
.disabled(!make_path_editable_is_allowed),
MenuListEntry::new("Expand Fill/Stroke")
.label("Expand Fill/Stroke")
.icon("ExpandFillStroke")
.on_commit(|_| DocumentMessage::ExpandFillStrokeOnSelectedLayers.into())
.disabled(no_active_document || !has_selected_layers),
],
])
.widget_instance(),