Update Hyperlink.tsx

This commit is contained in:
zsviczian 2022-02-09 11:33:21 +01:00 committed by GitHub
parent 3a8408317e
commit 7cb1def60c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;