fix floating mode (issue #93)

This commit is contained in:
Pavel Reznikov 2015-03-12 19:52:26 -07:00
commit 41b1a40fa0
3 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -359,6 +359,9 @@
};
GridStackEngine.prototype.end_update = function () {
_.each(this.nodes, function (n) {
n._orig_y = n.y;
});
var n = _.find(this.nodes, function (n) { return n._updating; });
if (n) {
n._updating = false;