G4: System Layout spaces every text object in whole points

Squashed from #3412 onto main.
This commit is contained in:
bflatastic
2026-10-22 00:54:43 +07:00
parent 675b759a37
commit adbe0566a6
15 changed files with 199 additions and 19 deletions
+1
View File
@@ -506,6 +506,7 @@ fn text_create(s: &mut Session, p: &Value) -> Result<Value> {
t.kind = vectorcraft_doc::TextKind::Area { frame: shapes::rectangle(Rect::new(0.0, 0.0, w, h)) };
t.area.fit = new_area_fit(s, a, "text.create")?;
}
t.system_layout = s.doc()?.doc.setup.system_layout;
if bool_or(p, "placeholder", false) {
super::typemenu::fill_with_placeholder(&mut t);
} else {