Open huangbuyi opened 1 week ago
When A and B (multiple elements) are selected, an active group (C) is created internally. Setting the position of A means setting A's position relative to C. The design is such that you need to deselect A before setting its position.
CheckList
Version
6.0.2
In What environments are you experiencing the problem?
Chrome
Node Version (if applicable)
None
Link To Reproduction
See code below.
Steps To Reproduce
discardActiveObject
orsetActiveObject
.Expected Behavior
All objects move to right position.
Actual Behavior
Active objects move to wrong position.
Origin positions:
Unexcepted positions:
I found this problems in v5.3.0, then I upgraded to latest version, the problem was still existed. Is this a real problem, or just I did something wrong? To fix this, I have to
discardActiveObject
before set object's props thensetActiveObject
same objects back in my project.Error Message & Stack Trace
No response