mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-01 02:37:46 +01:00
affinity: warn on converted artboard outlines
This commit is contained in:
1 parent
8c7544ed2a
commit
02ae5fd404
1 file changed
+3
@@ -306,6 +306,9 @@ impl Builder<'_> {
|
||||
}
|
||||
}
|
||||
Kind::Artboard { rect, background, .. } => {
|
||||
if n.class != craft_affinity::stream::Tag::of(b"ShpN") {
|
||||
self.warn("a converted artboard outline (imported at its bounding box)");
|
||||
}
|
||||
let r = self.bbox(to_doc, *rect);
|
||||
let bg = match background.first() {
|
||||
Some(ap::Paint::Solid(c)) => {
|
||||
|
||||
Reference in new issue
Block a user