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
I want to click on a button and select an object from the group and use its controls like scaling up and down rotate freely. Right now the controls and selected objects are not at the right position. I am not able to use the controls at all.
makeCurrentObjectActive($event, object) { // object is an object from the group
// this.ungroup();
if (!object) {
return true;
}
$event.preventDefault();
$event.stopImmediatePropagation();
// delete object.group; // If I add this the object box sorounding it goes into too left, I understand that deletes the group
this.canvas.discardActiveObject();
this.canvas.setActiveObject(object);
this.canvas.requestRenderAll();
}
Any help is highly appreciated, Thank you!
The text was updated successfully, but these errors were encountered:
Version
4.6.0
Problem
The objects inside a group - controls are not working.
The problem:
The expectation:
In the actual application:
Screen.Recording.2022-05-05.at.10.16.02.PM.mov
The controls of the selected object are not at the right position. It should be above the selected group object. I am sure I am missing something.
Jsfiddle: http://jsfiddle.net/e3j40v6d/28/
Description
I am trying to build a simple image editing tool using fabric js. I have created a group of active selections by using the below code:
I want to click on a button and select an object from the group and use its controls like scaling up and down rotate freely. Right now the controls and selected objects are not at the right position. I am not able to use the controls at all.
Any help is highly appreciated, Thank you!
The text was updated successfully, but these errors were encountered: