You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After using center/centerH/centerV to center objects on the canvas, the 'centered' object cannot be selected again.
Repro steps:
Create an object (e.g., a rect) in the canvas
call object.center (or centerH, centerV) to center the object
Click the object to select it
Expected:
Object is centered as instructed
When clicking the object again, it will be selected
Actual:
Object centered as expected.
Object cannot be selected again
Found fix:
After call object's center method, call obejct.setCoords() to update is coordinations, so that selection works again. Is this probably a bug or a missing use of the fabric API?
The text was updated successfully, but these errors were encountered:
After using center/centerH/centerV to center objects on the canvas, the 'centered' object cannot be selected again.
Repro steps:
Expected:
Actual:
Found fix:
After call object's center method, call obejct.setCoords() to update is coordinations, so that selection works again. Is this probably a bug or a missing use of the fabric API?
The text was updated successfully, but these errors were encountered: