Fixing resize enabling/disabling

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2011-03-25 18:26:39 -07:00
parent 4ec6eabfc3
commit 7b787996af

View File

@@ -116,8 +116,8 @@
shapeTracingContainer.resizable({
handles: { n: '#shape-tracing-resize-handle' },
grid: 20, // mitigates the number of calls to syncResize(), and aligns to the line height
resize: shapeTracingEnabled = false,
stop: shapeTracingEnabled = true
resize: function () { shapeTracingEnabled = false },
stop: function () { shapeTracingEnabled = true }
});
var shapeNodes = {}; // represents the main index of shape nodes, indexed by id