|
|
@ -484,6 +484,10 @@ module.exports = Backbone.View.extend({ |
|
|
dimsFromTarget(target, rX, rY) { |
|
|
dimsFromTarget(target, rX, rY) { |
|
|
var dims = []; |
|
|
var dims = []; |
|
|
|
|
|
|
|
|
|
|
|
if (!target) { |
|
|
|
|
|
return dims; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Select the first valuable target
|
|
|
// Select the first valuable target
|
|
|
if (!target.matches(`${this.itemSel}, ${this.containerSel}`)) { |
|
|
if (!target.matches(`${this.itemSel}, ${this.containerSel}`)) { |
|
|
target = this.closest(target, this.itemSel); |
|
|
target = this.closest(target, this.itemSel); |
|
|
|