Merge branch 'worktree-agent-af1868dabbf03697e'
# Conflicts: # docs/parity.md
This commit is contained in:
@@ -375,6 +375,18 @@ pub struct TimelineState {
|
||||
/// Properties whose inline expression editor is collapsed.
|
||||
#[serde(default)]
|
||||
pub expr_closed: BTreeSet<u64>,
|
||||
/// Visible optional columns (column header right-click ▸ Columns): `av`, `keys`, `label`,
|
||||
/// `num`, `comment`, `switches`, `parent`, `in`, `out`, `duration`, `stretch`. The name
|
||||
/// column is always shown; Modes follows `show_modes` (F4).
|
||||
#[serde(default = "default_tl_columns")]
|
||||
pub columns: BTreeSet<String>,
|
||||
/// The name column shows Source Name instead of Layer Name (click its header).
|
||||
#[serde(default)]
|
||||
pub source_name: bool,
|
||||
}
|
||||
|
||||
pub fn default_tl_columns() -> BTreeSet<String> {
|
||||
["av", "label", "num", "switches", "parent"].map(String::from).into_iter().collect()
|
||||
}
|
||||
|
||||
fn value_graph() -> String {
|
||||
@@ -406,6 +418,8 @@ impl Default for TimelineState {
|
||||
graph_reference: false,
|
||||
graph_transform_box: true,
|
||||
expr_closed: BTreeSet::new(),
|
||||
columns: default_tl_columns(),
|
||||
source_name: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -588,6 +602,9 @@ pub struct UiState {
|
||||
/// Composition Mini-Flowchart popup position (open when set).
|
||||
#[serde(default)]
|
||||
pub mini_flowchart: Option<[f32; 2]>,
|
||||
/// Flowchart panel options (layers, effects, solids, direction, root comp).
|
||||
#[serde(default)]
|
||||
pub flowchart: crate::panels::flowchart::FlowOptions,
|
||||
}
|
||||
|
||||
impl Default for UiState {
|
||||
@@ -639,6 +656,7 @@ impl Default for UiState {
|
||||
layer_view: None,
|
||||
anim_tools: AnimToolsState::default(),
|
||||
mini_flowchart: None,
|
||||
flowchart: Default::default(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user