mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-20 19:31:52 +00:00
Aligning guidelines: remove line after render
avoid superimposition of multiple lines
This commit is contained in:
parent
c7b4b52981
commit
2535b4805e
1 changed files with 2 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue