fix #407
parent
102541b7f4
commit
033fd30955
|
@ -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)
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue