From 3a8408317ee77c4ebf038e51600fb8aef7195fd4 Mon Sep 17 00:00:00 2001 From: zsviczian Date: Wed, 9 Feb 2022 11:27:35 +0100 Subject: [PATCH] LinkWidth LinkHeight --- src/element/Hyperlink.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/element/Hyperlink.tsx b/src/element/Hyperlink.tsx index fa0ca8df6..064f4e131 100644 --- a/src/element/Hyperlink.tsx +++ b/src/element/Hyperlink.tsx @@ -290,8 +290,8 @@ export const getLinkHandleFromCoords = ( appState: AppState, ): [x: number, y: number, width: number, height: number] => { const size = DEFAULT_LINK_SIZE; - const linkWidth = size / appState.zoom.value; - const linkHeight = size / appState.zoom.value; + const linkWidth = size;// / appState.zoom.value; + const linkHeight = size;// / appState.zoom.value; const linkMarginY = size / appState.zoom.value; const centerX = (x1 + x2) / 2; const centerY = (y1 + y2) / 2;