Gitlab CSE Unil

Commit 7e5c3639 authored by M. Chardon's avatar M. Chardon
Browse files

bug création carré et eclipse

parent 346f8b9c
......@@ -337,6 +337,8 @@ define(["paper", "tools/Shape.class","adim/category"], function (paper, Shape, C
if (_drawingLine && terminateOnRelease) {
drawEllGeo(this,event);
_terminateCreate(event);
} else {
_startPoint=null;
}
}
_editedSegmentIdx = _editedRecGeo = null;
......
......@@ -297,6 +297,8 @@ define(["paper", "tools/Shape.class","adim/category"], function (paper, Shape, C
if (_drawingLine && terminateOnRelease) {
drawRecGeo(this,event);
_terminateCreate(event);
} else {
_startPoint=null;
}
}
_editedSegmentIdx = _editedRecGeo = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment