mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 03:01:33 +00:00
Tests: the type-edge placed-document test sets page_box
PlacedDocument has a page_box field on main, so the struct literal in tests_typeedges.rs sets it to its default, as tests_placed_document.rs does.
This commit is contained in:
@@ -268,6 +268,7 @@ fn type_in_a_placed_document_takes_the_pages_pixels() {
|
||||
link: LinkInfo::new("/art/type.vectorcraft"),
|
||||
key: key.clone(),
|
||||
bounding: false,
|
||||
page_box: Default::default(),
|
||||
width: f64::from(W),
|
||||
height: f64::from(H),
|
||||
xf: Affine::translate((0.3, 0.4)),
|
||||
|
||||
Reference in New Issue
Block a user