fixed indentation and extra vars
parent
5bd4952a13
commit
85a68c3f42
|
@ -482,10 +482,10 @@ svgedit.path.Segment.prototype.move = function(dx, dy) {
|
||||||
var cloneItem = $.extend({}, item);
|
var cloneItem = $.extend({}, item);
|
||||||
|
|
||||||
if (this.ctrlpts) {
|
if (this.ctrlpts) {
|
||||||
var cur_pts = [cloneItem.x += dx, cloneItem.y += dy,
|
cur_pts = [cloneItem.x += dx, cloneItem.y += dy,
|
||||||
cloneItem.x1, cloneItem.y1, cloneItem.x2 += dx, cloneItem.y2 += dy];
|
cloneItem.x1, cloneItem.y1, cloneItem.x2 += dx, cloneItem.y2 += dy];
|
||||||
} else {
|
} else {
|
||||||
var cur_pts = [cloneItem.x += dx, cloneItem.y += dy];
|
cur_pts = [cloneItem.x += dx, cloneItem.y += dy];
|
||||||
}
|
}
|
||||||
//fix
|
//fix
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue