Is there a way to prevent the increase in control border padding when scaling an object on FabricJS?
I currently have a rectangle
canvas = new fabric.Canvas('c', {
backgroundColor: '#FFFFFF'
});
// creating a rectangle object
var rect = new fabric.Rect({
left: 200,
top: 185,
fill: 'red',
width: 100,
height: 100,
padding: 0
});
https://jsfiddle.net/wwexsh1f/2/
Even though I set the padding to 0, when I scale my rectangle using the mouse or the rect.scaleTo function, the control border paddling increases. Is there a method to prevent this padding increase during scaling?