@@ -60373,7 +60373,7 @@ function detectRightButton(event) {
6037360373
6037460374/** @summary Add move handlers for drawn element
6037560375  * @private */
60376- function addMoveHandler(painter, enabled = true) {
60376+ function addMoveHandler(painter, enabled = true, hover_handler = false ) {
6037760377   if (!settings.MoveResize || painter.isBatchMode() || !painter.draw_g) return;
6037860378
6037960379   if (painter.getPadPainter()?.isEditable() === false)
@@ -60431,9 +60431,13 @@ function addMoveHandler(painter, enabled = true) {
6043160431      }.bind(painter));
6043260432
6043360433   painter.draw_g
60434-           .style('cursor', 'move')
60434+           .style('cursor', hover_handler ? 'pointer' :  'move')
6043560435          .property('assigned_move', true)
6043660436          .call(drag_move);
60437+ 
60438+    if (hover_handler)
60439+       painter.draw_g.on('mouseenter', () => painter.draw_g.style('text-decoration', 'underline'))
60440+                     .on('mouseleave', () => painter.draw_g.style('text-decoration', null));
6043760441}
6043860442
6043960443/** @summary Inject style
@@ -141360,7 +141364,7 @@ var GroupA = /** @class */ (function (_super) {
141360141364                            box = this.getBoundingBox(context);
141361141365                            scale = context.pdf.internal.scaleFactor;
141362141366                            ph = context.pdf.internal.pageSize.getHeight();
141363-                             context.pdf.link(scale * box[0], ph - scale * box[1], scale * box[2], scale * box[3], { url: href });
141367+                             context.pdf.link(scale * ( box[0] + context.transform.tx) , ph - scale * ( box[1] + context.transform.ty) , scale * box[2], scale * box[3], { url: href });
141364141368                        }
141365141369                        return [2 /*return*/];
141366141370                }
@@ -147112,7 +147116,7 @@ async function drawText$1() {
147112147116      }
147113147117
147114147118      if (annot !== '3d')
147115-          addMoveHandler(this);
147119+          addMoveHandler(this, true, is_url );
147116147120      else {
147117147121         fp.processRender3D = true;
147118147122         this.handleRender3D = () => {
0 commit comments