Add check to skip tooltip and hyperlink processing if drawing is selected

This commit is contained in:
Eduard Belozertsev
2025-12-17 17:59:17 +07:00
committed by Sergey Luzyanin
parent 9894741418
commit 1ffc4f08e2

View File

@ -731,6 +731,15 @@
return;
}
const docContent = drawing.getDocContent && drawing.getDocContent();
if (docContent) {
const selectedObjects = this.selection.groupSelection ? this.selection.groupSelection.selectedObjects : this.selectedObjects;
for (let i = 0; i < selectedObjects.length; i++) {
if (selectedObjects[i] === drawing) {
return;
}
}
}
//
// if( this.document || (this.drawingObjects.cSld && !(this.noNeedUpdateCursorType === true)) )