fix #407
This commit is contained in:
@@ -2887,9 +2887,6 @@ const dblClick = function (evt) {
|
||||
const evtTarget = evt.target;
|
||||
const parent = evtTarget.parentNode;
|
||||
|
||||
// Do nothing if already in current group
|
||||
if (parent === currentGroup) { return; }
|
||||
|
||||
let mouseTarget = getMouseTarget(evt);
|
||||
const {tagName} = mouseTarget;
|
||||
|
||||
@@ -2898,6 +2895,9 @@ const dblClick = function (evt) {
|
||||
textActions.select(mouseTarget, pt.x, pt.y);
|
||||
}
|
||||
|
||||
// Do nothing if already in current group
|
||||
if (parent === currentGroup) { return; }
|
||||
|
||||
if ((tagName === 'g' || tagName === 'a') &&
|
||||
getRotationAngle(mouseTarget)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user