mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Update Hyperlink.tsx
This commit is contained in:
parent
3a8408317e
commit
7cb1def60c
1 changed files with 2 additions and 2 deletions
|
@ -290,8 +290,8 @@ export const getLinkHandleFromCoords = (
|
||||||
appState: AppState,
|
appState: AppState,
|
||||||
): [x: number, y: number, width: number, height: number] => {
|
): [x: number, y: number, width: number, height: number] => {
|
||||||
const size = DEFAULT_LINK_SIZE;
|
const size = DEFAULT_LINK_SIZE;
|
||||||
const linkWidth = size;// / appState.zoom.value;
|
const linkWidth = size; // / appState.zoom.value;
|
||||||
const linkHeight = size;// / appState.zoom.value;
|
const linkHeight = size; // / appState.zoom.value;
|
||||||
const linkMarginY = size / appState.zoom.value;
|
const linkMarginY = size / appState.zoom.value;
|
||||||
const centerX = (x1 + x2) / 2;
|
const centerX = (x1 + x2) / 2;
|
||||||
const centerY = (y1 + y2) / 2;
|
const centerY = (y1 + y2) / 2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue