PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Document layerFilter in the ui_set MCP schema (#5776)
FredAppscb319fd742ad
diff --git a/crates/automation/src/server.rs b/crates/automation/src/server.rsindex c5a0c3b18..f223bc510 100644--- a/crates/automation/src/server.rs+++ b/crates/automation/src/server.rs@@ -325,7 +325,10 @@ pub struct UiSetParams {/// dashes, dashOffset and opacity; null disables the stroke). Shape stroke fields use/// `shape.edit` names and units; colour comes from `tools.setColors`. camTransformOnDrop (bool,/// the Content-Aware Move tool's Transform On Drop). tileGrid (bool, a developer overlay of the- /// active layer's storage tiles). Other fields are an error.+ /// active layer's storage tiles). layerFilter (an object patching the Layers panel filter:+ /// by: kind/name/mode; kinds: a list of pixel/adjustment/type/shape/smart; name: a string;+ /// mode: a blend mode name such as Multiply or Pass Through). Omitted filter fields keep+ /// their current values. Other fields are an error.pub fields: Value,}