Aligning guidelines: remove line after render

avoid superimposition of multiple lines
This commit is contained in:
Arthur Schwaiger 2014-11-04 14:28:13 +01:00
parent c7b4b52981
commit 2535b4805e

View file

@ -191,6 +191,8 @@ function initAligningGuidelines(canvas) {
for (var i = horizontalLines.length; i--; ) {
drawHorizontalLine(horizontalLines[i]);
}
verticalLines.length = horizontalLines.length = 0;
});
canvas.on('mouse:up', function() {