Differentiate between scale and dimensions (#570)

* Differentiate between scale and dimensions

* Fix layout and naming of properties
This commit is contained in:
TrueDoctor
2022-03-27 01:48:40 +01:00
committed by Keavon Chambers
parent 9ced465150
commit 0ee492a857
6 changed files with 114 additions and 52 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ impl<'a> Selected<'a> {
.document
.layer(path)
.unwrap()
.current_bounding_box_with_transform(multiplied_transform)
.aabounding_box_for_transform(multiplied_transform)
.unwrap_or([multiplied_transform.translation; 2]);
(bounds[0] + bounds[1]) / 2.