Border not maintaining position when scaling.
Closed this issue · 0 comments
sameerxanand commented
I created a basic rectangle and all looks fine.. but when I scale the rectangle, the borders shrink or expand which is not supposed to happen.
This happens with the latest version, 5.0. With 4.0 it works fine.
var canvas = new fabric.CanvasWithViewport("c");
var rect = new fabric.Rect({
fill: 'red',
width: 100,
height: 100,
hasBorders: true
});
canvas.add(rect);