UI: Effect Controls and the Timeline have no parameter row separators, as in After Effects (#402)
#402 made Effect Controls' rows compact and aligned, as After Effects draws them, and also added thin separator lines between parameter rows in Effect Controls and the Timeline, with a Settings > Appearance > Show Parameter Row Separators preference. After Effects has neither, so the lines, the preference and the Tokens field go; the compact rows, the alignment and the automation ids stay. Saved settings with the old key load as before (unknown keys are ignored). Test: ui_parameter_spacing keeps the row geometry, hit target and nesting tests; the separator tests go with the feature. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9144eef269
commit
82f0cd9668
@@ -567,8 +567,6 @@ fn group_rows(
|
||||
}
|
||||
}
|
||||
}
|
||||
// Expanded sliders/dials belong to their parameter; separate after the whole block.
|
||||
widgets::parameter_separator(p, Rect::from_min_max(r.min, pos2(r.max.x, *y)), &t);
|
||||
}
|
||||
Node::Group(sg) => {
|
||||
// Paint strokes live in the Timeline only (AE's Paint shows Paint on Transparent).
|
||||
@@ -577,7 +575,6 @@ fn group_rows(
|
||||
}
|
||||
*y += ROW;
|
||||
let open = !app.ui.fx_closed.contains(&sg.uid);
|
||||
widgets::parameter_separator(p, r, &t);
|
||||
let tw = Rect::from_center_size(pos2(r.min.x + PARAM_NAME_X - 12.0 + TREE_INDENT * depth as f32, r.center().y), vec2(12.0, 12.0));
|
||||
if r.max.y >= rect.min.y && r.min.y <= rect.max.y {
|
||||
app.auto.add(&format!("effectControls.row.{}", sg.uid), r, &sg.name);
|
||||
|
||||
@@ -2458,10 +2458,6 @@ pub fn show(app: &mut EffectcraftApp, ui: &mut egui::Ui, rect: Rect) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if !matches!(row.kind, RowKind::Layer) {
|
||||
widgets::parameter_separator(&lp, left, &t);
|
||||
widgets::parameter_separator(&gp, Rect::from_min_max(pos2(graph_x0, r.min.y), r.max), &t);
|
||||
}
|
||||
}
|
||||
ui.set_clip_rect(full_clip);
|
||||
// The background responses sit below rows, bars and editors, preserving their menus.
|
||||
|
||||
Reference in New Issue
Block a user