Browse Source

Merge pull request #1375 from dsgh/wrapper-not-droppable-visual-fix

Don't display drop placeholder when no target
pull/1382/head
Artur Arseniev 8 years ago
committed by GitHub
parent
commit
0c70e28375
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/utils/Sorter.js

1
src/utils/Sorter.js

@ -385,6 +385,7 @@ module.exports = Backbone.View.extend({
const target = this.target;
const targetModel = this.getTargetModel(target);
this.selectTargetModel(targetModel);
if (!targetModel) plh.style.display = 'none';
this.lastDims = dims;
var pos = this.findPosition(dims, rX, rY);

Loading…
Cancel
Save