|
@ -1248,7 +1248,7 @@ ItemSet.prototype._onDragStartAddItem = function (event) { |
|
|
var time = this.body.util.toTime(x); |
|
|
var time = this.body.util.toTime(x); |
|
|
var scale = this.body.util.getScale(); |
|
|
var scale = this.body.util.getScale(); |
|
|
var step = this.body.util.getStep(); |
|
|
var step = this.body.util.getStep(); |
|
|
var start = snap ? snap(time, scale, step) : start; |
|
|
|
|
|
|
|
|
var start = snap ? snap(time, scale, step) : time; |
|
|
var end = start; |
|
|
var end = start; |
|
|
|
|
|
|
|
|
var itemData = { |
|
|
var itemData = { |
|
|