M7.4: Object → Text Wrap (Make, Release, Text Wrap Options: offset, invert): area type flows around wrap objects above it in the same layer, re-resolved after every edit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-01 22:48:49 -04:00
co-authored by Claude Opus 5.5
parent 0ae572be93
commit 4745f39c6c
12 changed files with 417 additions and 33 deletions
+4
View File
@@ -263,6 +263,9 @@ pub struct Node {
/// Image Trace object: `{preset, params}` it was traced with (the Image Trace panel shows them).
#[serde(default, skip_serializing_if = "Option::is_none")]
pub trace: Option<Box<serde_json::Value>>,
/// Object → Text Wrap: area type below this object (in the same layer) flows around it.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub wrap: Option<crate::text::TextWrap>,
pub kind: NodeKind,
}
@@ -305,6 +308,7 @@ impl Node {
appearance: Appearance::default(),
mask: None,
trace: None,
wrap: None,
kind,
}
}