Merge pull request #594 from SVG-Edit/issues/262

#262 Shape selection not working as expected with the rectangle / cir…
This commit is contained in:
JFH
2021-07-13 16:11:53 +02:00
committed by GitHub

View File

@@ -877,6 +877,7 @@ export const mouseUpEvent = function (evt) {
if (eventContext_.getCurrentMode() === 'path') {
svgCanvas.pathActions.toEditMode(element);
} else if (eventContext_.getCurConfig().selectNew) {
svgCanvas.setMode('select');
svgCanvas.selectOnly([ element ], true);
}
// we create the insert command that is stored on the stack