[pdf] Fix click right button on link

This commit is contained in:
Nikita Khromov
2025-11-07 21:09:34 +07:00
committed by Ilya Kirillov
parent b5b69f1112
commit fe55b45d12

View File

@ -2731,7 +2731,7 @@ var CPresentation = CPresentation || function(){};
oController.updateCursorType(pageObject.index, X, Y, e, false);
oDrDoc.UnlockCursorType();
}
else if (this.mouseDownLinkObject && this.mouseDownLinkObject == oMouseUpLink) {
else if (e.Button !== 2 && this.mouseDownLinkObject && this.mouseDownLinkObject == oMouseUpLink) {
oViewer.navigateToLink(oMouseUpLink);
}