Fixing resize handle bug when hovering shape overlay

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2011-03-25 16:34:07 -07:00
parent 941d15fbce
commit b1a179b26d

View File

@@ -114,7 +114,9 @@
$('#shape-tracing-resize-handle').addClass('ui-resizable-handle ui-resizable-n');
shapeTracingContainer.resizable({
handles: { n: '#shape-tracing-resize-handle' },
grid: 20 // mitigates the number of calls to syncResize(), and aligns to the line height
grid: 20, // mitigates the number of calls to syncResize(), and aligns to the line height
resize: disableShapeTracing,
stop: enableShapeTracing
});
var shapeNodes = {}; // represents the main index of shape nodes, indexed by id