fix(core): Left-over use of tl and br
This commit is contained in:
parent
bce6224167
commit
e7292ee2e4
2 changed files with 10 additions and 7 deletions
|
@ -904,7 +904,7 @@ export function applyTransformToPoint(transform, point) {
|
|||
* Get the bounds of a given object after transforms have been applied
|
||||
* @param {Object} boundsObj any object with `topLeft` and `bottomRight` properties
|
||||
* @param {Boolean|String[]} transforms the transforms to apply to the bounds, structured as they would be for being applied as an svg attribute
|
||||
* @return {Object} `tl` and `br` for the transformed bounds
|
||||
* @return {Object} `topLeft` and `bottomRight` for the transformed bounds
|
||||
*/
|
||||
export function getTransformedBounds(boundsObj, transforms = false) {
|
||||
if (!boundsObj.topLeft) return {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue