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
There seems to be an issue with setting the offsetY attribute for the mtr control of an object. Although the offsetY gets set correctly for the object in question, it also seems to override the offsetY property of all other object 'mtr' controls.
Issue observed in version : "fabric@5.2.1",
Code used 👎
As per the latest guidelines for usage (for fabric version 4 and above) I am following the above link http://fabricjs.com/controls-customization.
In the code on that page ,pls refer to the line 👎 canvas.item(0).controls.mtr.offsetY = -parseFloat(this.value);
In the above demo, since there is only one rectangle the problem is not identifiable. Pls add another element to the canvas, and try execute the line above.. You will fin that it changes the offset for all the objects, rather than only the one
The text was updated successfully, but these errors were encountered:
There seems to be an issue with setting the offsetY attribute for the mtr control of an object. Although the offsetY gets set correctly for the object in question, it also seems to override the offsetY property of all other object 'mtr' controls.
Issue observed in version : "fabric@5.2.1",
Code used 👎
As per the latest guidelines for usage (for fabric version 4 and above) I am following the above link
http://fabricjs.com/controls-customization.
In the code on that page ,pls refer to the line 👎 canvas.item(0).controls.mtr.offsetY = -parseFloat(this.value);
In the above demo, since there is only one rectangle the problem is not identifiable. Pls add another element to the canvas, and try execute the line above.. You will fin that it changes the offset for all the objects, rather than only the one
The text was updated successfully, but these errors were encountered: