Skip to content

getBoundingRect of objects in an active selection weird #4778

@blobinabottle

Description

@blobinabottle

Version

2.0.2

Test Case

https://jsfiddle.net/blobinabottle/9h239bak/8/

Steps to reproduce

Select one object and rotate it to see bounding rect: that's nice.
Select multiple objets and rotate and check the bounding rect: weird.
When deselected bounding renders correctly.
See short video here https://cl.ly/273y0n3B1C14

Expected Behavior

I would like to get the correct bounding area even when objects in selection.

Actual Behavior

It gives bouding area of object as it's relative to the group. I understand the logic, I could calculate the correct position of bounding box but when you apply rotation it becomes very difficult and could be really useful to get an option to have the absolute bounding rect even if object into an active selection (or a group).

Do you have a (easy) magic trick to get this in the way I like? :-) Or it implies to rework the whole logic of active selection / group?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions