Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

Name layerFilter in the ui_set tool description

abc2cbc8e871292620
diff --git a/crates/automation/src/server.rs b/crates/automation/src/server.rs
index c5a0c3b18..be0764e6d 100644
--- a/crates/automation/src/server.rs
+++ b/crates/automation/src/server.rs
@@ -325,7 +325,9 @@ 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 by (kind, name, mode), kinds
+ /// (a list of pixel, adjustment, type, shape, smart), name and mode, the Layers panel's filter).
+ /// Other fields are an error.
pub fields: Value,
}