added dist

This commit is contained in:
sofiekedvik
2017-10-31 12:20:47 +01:00
parent ffe101a3bc
commit 0b508d15af
+2 -2
View File
@@ -818,7 +818,7 @@ function DragbarHandler(canvas) {
_dragbars.x = new fabric.Rect($.extend({}, config.dragBar, {
axis: 'x',
width: canvas.getImage().width,
width: canvas.getImage().width * canvas.getImage().scaleY,
height: config.dragBar.size,
lockMovementY: true,
selectable: true,
@@ -831,7 +831,7 @@ function DragbarHandler(canvas) {
_dragbars.y = new fabric.Rect($.extend({}, config.dragBar, {
axis: 'y',
width: config.dragBar.size,
height: canvas.getImage().height,
height: canvas.getImage().height * canvas.getImage().scaleY,
lockMovementX: true,
selectable: true,
hoverCursor: 'ns-resize',