From 535744efa146cd6f99d65934eee708ec5a13d490 Mon Sep 17 00:00:00 2001 From: peterkogo Date: Tue, 20 Aug 2024 12:46:00 +0200 Subject: [PATCH] typo --- packages/system/src/utils/general.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/system/src/utils/general.ts b/packages/system/src/utils/general.ts index fd4c1dff..aa20c958 100644 --- a/packages/system/src/utils/general.ts +++ b/packages/system/src/utils/general.ts @@ -28,7 +28,7 @@ export const clampPosition = ( /** * Calculates the velocity of panning when the mouse is close to the edge of the canvas * @internal - * @param value - One dimensional poition of the mouse supi(x or y) + * @param value - One dimensional poition of the mouse (x or y) * @param min - Minimal position on canvas before panning starts * @param max - Maximal position on canvas before panning starts * @returns - A number between 0 and 1 that represents the velocity of panning