added dist
This commit is contained in:
Vendored
+2
-2
@@ -818,7 +818,7 @@ function DragbarHandler(canvas) {
|
|||||||
|
|
||||||
_dragbars.x = new fabric.Rect($.extend({}, config.dragBar, {
|
_dragbars.x = new fabric.Rect($.extend({}, config.dragBar, {
|
||||||
axis: 'x',
|
axis: 'x',
|
||||||
width: canvas.getImage().width,
|
width: canvas.getImage().width * canvas.getImage().scaleY,
|
||||||
height: config.dragBar.size,
|
height: config.dragBar.size,
|
||||||
lockMovementY: true,
|
lockMovementY: true,
|
||||||
selectable: true,
|
selectable: true,
|
||||||
@@ -831,7 +831,7 @@ function DragbarHandler(canvas) {
|
|||||||
_dragbars.y = new fabric.Rect($.extend({}, config.dragBar, {
|
_dragbars.y = new fabric.Rect($.extend({}, config.dragBar, {
|
||||||
axis: 'y',
|
axis: 'y',
|
||||||
width: config.dragBar.size,
|
width: config.dragBar.size,
|
||||||
height: canvas.getImage().height,
|
height: canvas.getImage().height * canvas.getImage().scaleY,
|
||||||
lockMovementX: true,
|
lockMovementX: true,
|
||||||
selectable: true,
|
selectable: true,
|
||||||
hoverCursor: 'ns-resize',
|
hoverCursor: 'ns-resize',
|
||||||
|
|||||||
Reference in New Issue
Block a user