From 1ee041120a180ab3f7cf974fa2694a8fb0173def Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 27 Mar 2025 21:01:36 -0700 Subject: [PATCH] refactor: clarify guide matching type definitions by specifying units in pixels --- packages/core/src/commands/view/ComponentDrag.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/commands/view/ComponentDrag.ts b/packages/core/src/commands/view/ComponentDrag.ts index 72298a6c1..abd59e87e 100644 --- a/packages/core/src/commands/view/ComponentDrag.ts +++ b/packages/core/src/commands/view/ComponentDrag.ts @@ -726,11 +726,11 @@ type GuideMatched = { */ posSecond: number; /** - * The distance between the two matched guides. + * The distance between the two matched guides in pixels. */ size: number; /** - * The raw distance between the two matched guides. + * The raw distance between the two matched guides in pixels. */ sizeRaw: number; /**