Fix tool drawing start point offset when an artboard has a transform (#1763)

* Fix offset artboard

* Multiply in transform sometimes
This commit is contained in:
0HyperCube
2024-05-28 09:09:48 +01:00
committed by GitHub
parent d40fb6caad
commit 61292500e6
5 changed files with 13 additions and 4 deletions

View File

@@ -339,6 +339,7 @@ impl NodeRuntime {
None.or_else(|| try_downcast::<VectorData>(introspected_data.as_ref()))
.or_else(|| try_downcast::<ImageFrame<Color>>(introspected_data.as_ref()))
.or_else(|| try_downcast::<GraphicElement>(introspected_data.as_ref()))
.or_else(|| try_downcast::<graphene_core::Artboard>(introspected_data.as_ref()))
} {
self.upstream_transforms.insert(parent_network_node_id, transform);
}