Skip to content

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

fix(automation): document ui.set layer filter

Gustavo Zigerc62b35590834
diff --git a/crates/automation/src/server.rs b/crates/automation/src/server.rs
index c5a0c3b18..8e04d106a 100644
--- a/crates/automation/src/server.rs
+++ b/crates/automation/src/server.rs
@@ -308,7 +308,7 @@ pub struct MenuParams {
pub struct UiSetParams {
/// Fields for the control method `ui.set`: tool, panels, dock, dockTabs, dockWidth, colorPanel
/// ({background: bool} picks which swatch the Color panel edits), maskTarget,
- /// vectorMaskTarget, selectionMode, zoom, center, rotation (view angle in degrees), fit, theme (pro, proMedium, studio,
+ /// vectorMaskTarget, selectionMode, layerFilter (by kind, name or blend mode), zoom, center, rotation (view angle in degrees), fit, theme (pro, proMedium, studio,
/// studioLight, classic, solarizedDark, adwaita, adwaitaDark, breezeLight, breezeDark, softLight, softDark), brushSection, brushTab,
/// brushesView, brushPicker ([x, y] opens the Brush Preset picker there, null closes it),
/// brushPickerName, brushPickerStroke, brushPickerTip (the picker card's parts, at least one