mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Add check to skip tooltip and hyperlink processing if drawing is selected
This commit is contained in:
committed by
Sergey Luzyanin
parent
9894741418
commit
1ffc4f08e2
@ -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)) )
|
||||
|
||||
Reference in New Issue
Block a user